addedInput schema / properties / items / items / properties / cake
Added value: +{
+ "additionalProperties": false,
+ "description": "Only on the decorated cake (see cake_options): what was decided with the customer. Leave out what is not decided yet.",
+ "properties": {
+ "allergens": {
+ "description": "Allergies or dietary needs, or 'none'.",
+ "type": "string"
+ },
+ "candles": {
+ "type": "boolean"
+ },
+ "card": {
+ "description": "A birthday card.",
+ "type": "boolean"
+ },
+ "design": {
+ "description": "The design concept the customer agreed to.",
+ "type": "string"
+ },
+ "flavor": {
+ "description": "Vanilla, Chocolate, Red Velvet, Ube, or the custom flavor asked for.",
+ "type": "string"
+ },
+ "guests": {
+ "description": "How many people; picks the size.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "inscription": {
+ "description": "What it says, or 'none'.",
+ "type": "string"
+ },
+ "occasion": {
+ "type": "string"
+ },
+ "recipient": {
+ "description": "Who it is for, with their age.",
+ "type": "string"
+ },
+ "size": {
+ "description": "A size from cake_options, like '10-15'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
addedInput schema / properties / staff_tip
Added value: +{
+ "description": "Toast orders: the tip for the bakery staff in whole dollars, shared by the staff who bake, pack and hand over the order. 0 (the default) unless the customer picks one; offer $1, $3 or $5 or any whole amount.",
+ "maximum": 50,
+ "minimum": 0,
+ "type": "integer"
+}
addedOutput schema / properties / lines / items / properties / cake
Added value: +{
+ "description": "The cake's flavor, message and design, in words, or empty.",
+ "type": "string"
+}
addedOutput schema / properties / staff_tip_cents
Added value: +{
+ "description": "The tip for the bakery staff, 0 when none.",
+ "type": "integer"
+}
changedOutput schema / properties / subtotal_cents / description
Previous value: -"Before tax; the checkout page shows the final total."New value: +"Before tax, with the staff tip; the checkout page shows the final total."
addedOutput schema / properties / tip_offer
Added value: +{
+ "description": "Toast orders: the staff tip choices in whole dollars and the suggested one.",
+ "type": "object"
+}