addedInput schema / $defs / CartItem / description
Added value: +"One cart line — EITHER a catalogue product OR a quoted custom cake.\n\nCatalogue line: {\"product_id\": \"...\", \"quantity\": 1, \"icing_text\": \"...\"}\nCustom cake line: {\"custom_cake_request_id\": \"...\", \"phone\": \"+9477...\"}\nThe custom cake line is turned into the staff-quoted cake server-side\n(name, picture, price); quantity is always 1 and no price is ever sent."
addedInput schema / $defs / CartItem / properties / custom_cake_request_id
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 80,
+ "minLength": 6,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "request_id of a custom cake that kapruka_custom_cake_status reports as 'quoted'. Orders the staff-quoted cake (quantity 1). Requires `phone`.",
+ "title": "Custom Cake Request Id"
+}
changedInput schema / $defs / CartItem / properties / icing_text / description
Previous value: -"Cake icing text. Silently ignored for non-cake products."New value: +"Cake icing text. Silently ignored for non-cake products. Catalogue lines only."
addedInput schema / $defs / CartItem / properties / phone
Added value: +{
+ "anyOf": [
+ {
+ "maxLength": 30,
+ "minLength": 7,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The customer.phone the custom cake request was made with (custom cake lines only).",
+ "title": "Phone"
+}
addedInput schema / $defs / CartItem / properties / product_id / anyOf
Added value: +[
+ {
+ "maxLength": 80,
+ "minLength": 3,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / $defs / CartItem / properties / product_id / default
Added value: +null
changedInput schema / $defs / CartItem / properties / product_id / description
Previous value: -"Kapruka product ID (e.g. 'cakeXX000000')."New value: +"Kapruka product ID (e.g. 'cakeXX000000'). Catalogue line."
removedInput schema / $defs / CartItem / properties / product_id / maxLength
Removed value: -80
removedInput schema / $defs / CartItem / properties / product_id / minLength
Removed value: -3
removedInput schema / $defs / CartItem / properties / product_id / type
Removed value: -"string"
addedInput schema / $defs / CartItem / properties / quantity / anyOf
Added value: +[
+ {
+ "maximum": 99,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+]
changedInput schema / $defs / CartItem / properties / quantity / default
Previous value: -1New value: +null
changedInput schema / $defs / CartItem / properties / quantity / description
Previous value: -"Quantity (1–99)."New value: +"Quantity (1–99, default 1). Catalogue lines only."
removedInput schema / $defs / CartItem / properties / quantity / maximum
Removed value: -99
removedInput schema / $defs / CartItem / properties / quantity / minimum
Removed value: -1
removedInput schema / $defs / CartItem / properties / quantity / type
Removed value: -"integer"
removedInput schema / $defs / CartItem / required
Removed value: -[
- "product_id"
-]