/caferimo-products-patch-one¶
Summary¶
Source repository:
jef-systems/jef-caferimo-backendSource SHA:
34c5a4f7f6891cb316e3bb2803081a3c35d4aa22Source run id:
25862713554Lambda function:
jef-caferimo-products-patch-oneHTTP method:
PATCHAPI path:
/caferimo-products-patch-oneEndpoint URL:
https://iim2eohqsl.execute-api.ap-southeast-1.amazonaws.com/prod/caferimo-products-patch-onePayload mode:
json-body
Description¶
Function: jef-caferimo-products-patch-oneModule: jef-caferimoAction: patch-oneMethod: PATCHInvocation Mode: ASYNCResource Path: /caferimo-products-patch-oneTable: jef-caferimo-productsPrimary Key: product_id
API Gateway Response¶
status\_code: 202message: Request accepted for asynchronous processing.
Payload Example¶
product\_id: bc75fb03-dc3d-4be8-a2da-49757957815cstore\_id: 167ec01f-2aae-4482-902d-61c36b19b0d4product\_number: CAFE-MOCHA-001product\_name: Belgian Mocharecipe\_number: RC-CAU-MO-101recipe\_name: Belgian Mocha Basecategory: Coffeefamily: Mochabase\_price: 189.0size\_mode: MULTI_SIZEuses\_milk: Truehas\_add\_ons: Truedefault\_size\_label: Mediumdefault\_milk\_name: Fresh Milksize\_option\_count: 3milk\_option\_count: 2add\_on\_option\_count: 4source\_type: menu_buildersource\_recipe\_version: 3last\_generated\_at: 2026-05-14T13:18:47Zdisplay\_order: 1is\_active: Trueis\_deleted: Falsedeleted\_at: 1970-01-01T00:00:00Zcreated\_at: 2026-05-14T13:18:47Zupdated\_at: 2026-05-14T13:18:47Zidempotency\_key: idem-jef-caferimo-products-1schema\_version: 1version: 1children.product\_add\_on\_options\[0\].product\_add\_on\_option\_id: d9668d55-8e4a-48c3-ba15-2c16c61deb81children.product\_add\_on\_options\[0\].product\_id: bc75fb03-dc3d-4be8-a2da-49757957815cchildren.product\_add\_on\_options\[0\].product\_number: JEF-PIZZA-001children.product\_add\_on\_options\[0\].product\_name: Margherita Pizza 10-inchchildren.product\_add\_on\_options\[0\].add\_on\_number: ADD-TOP-CH1children.product\_add\_on\_options\[0\].add\_on\_name: Extra Basil Toppingchildren.product\_add\_on\_options\[0\].price: 35.0children.product\_add\_on\_options\[0\].sort\_order: 10children.product\_add\_on\_options\[0\].is\_default: Falsechildren.product\_add\_on\_options\[0\].is\_active: Truechildren.product\_add\_on\_options\[0\].is\_deleted: Falsechildren.product\_add\_on\_options\[0\].deleted\_at: 1970-01-01T00:00:00Zchildren.product\_add\_on\_options\[0\].created\_at: 2026-05-14T13:20:25Zchildren.product\_add\_on\_options\[0\].updated\_at: 2026-05-14T13:20:25Zchildren.product\_add\_on\_options\[0\].schema\_version: 1children.product\_add\_on\_options\[0\].version: 1children.product\_milk\_options\[0\].product\_milk\_option\_id: ae08d4fc-64ea-4e77-b30a-b2217c16f178children.product\_milk\_options\[0\].product\_id: bc75fb03-dc3d-4be8-a2da-49757957815cchildren.product\_milk\_options\[0\].product\_number: CAF-ICE-0042children.product\_milk\_options\[0\].product\_name: Caferimo Iced Lattechildren.product\_milk\_options\[0\].milk\_number: MILK-REG-01children.product\_milk\_options\[0\].milk\_name: Fresh Milk Regularchildren.product\_milk\_options\[0\].price: 28.0children.product\_milk\_options\[0\].sort\_order: 10children.product\_milk\_options\[0\].is\_default: Truechildren.product\_milk\_options\[0\].is\_active: Truechildren.product\_milk\_options\[0\].is\_deleted: Falsechildren.product\_milk\_options\[0\].deleted\_at: 1970-01-01T00:00:00Zchildren.product\_milk\_options\[0\].created\_at: 2026-05-14T13:20:32Zchildren.product\_milk\_options\[0\].updated\_at: 2026-05-14T13:20:32Zchildren.product\_milk\_options\[0\].schema\_version: 1children.product\_milk\_options\[0\].version: 1children.product\_size\_options\[0\].product\_size\_option\_id: d3262eba-92ec-4cbb-9d60-40e3851f8daechildren.product\_size\_options\[0\].product\_id: bc75fb03-dc3d-4be8-a2da-49757957815cchildren.product\_size\_options\[0\].product\_number: CAF-MAT-2109children.product\_size\_options\[0\].product\_name: Matte Chocolate Frappechildren.product\_size\_options\[0\].size\_number: Schildren.product\_size\_options\[0\].size\_label: Small 12ozchildren.product\_size\_options\[0\].upcharge: 0children.product\_size\_options\[0\].sort\_order: 1children.product\_size\_options\[0\].is\_default: Truechildren.product\_size\_options\[0\].is\_active: Truechildren.product\_size\_options\[0\].is\_deleted: Falsechildren.product\_size\_options\[0\].deleted\_at: 1970-01-01T00:00:00Zchildren.product\_size\_options\[0\].created\_at: 2026-05-14T13:20:39Zchildren.product\_size\_options\[0\].updated\_at: 2026-05-14T13:20:39Zchildren.product\_size\_options\[0\].schema\_version: 1children.product\_size\_options\[0\].version: 1
Payload Schema¶
{
"root.type": "M",
"root.required": "True",
"root.attributes.product_id.type": "S",
"root.attributes.product_id.required": "True",
"root.attributes.product_id.format": "uuidv4",
"root.attributes.product_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.store_id.type": "S",
"root.attributes.store_id.required": "False",
"root.attributes.store_id.format": "uuidv4",
"root.attributes.store_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.product_number.type": "S",
"root.attributes.product_number.required": "False",
"root.attributes.product_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.product_name.type": "S",
"root.attributes.product_name.required": "False",
"root.attributes.product_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.recipe_number.type": "S",
"root.attributes.recipe_number.required": "False",
"root.attributes.recipe_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.recipe_name.type": "S",
"root.attributes.recipe_name.required": "False",
"root.attributes.recipe_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.category.type": "S",
"root.attributes.category.required": "False",
"root.attributes.category.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.family.type": "S",
"root.attributes.family.required": "False",
"root.attributes.family.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.base_price.type": "N",
"root.attributes.base_price.required": "False",
"root.attributes.base_price.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.size_mode.type": "S",
"root.attributes.size_mode.required": "False",
"root.attributes.size_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.uses_milk.type": "BOOL",
"root.attributes.uses_milk.required": "False",
"root.attributes.uses_milk.regex": "^(true|false)$",
"root.attributes.has_add_ons.type": "BOOL",
"root.attributes.has_add_ons.required": "False",
"root.attributes.has_add_ons.regex": "^(true|false)$",
"root.attributes.default_size_label.type": "S",
"root.attributes.default_size_label.required": "False",
"root.attributes.default_size_label.regex": "^[A-Za-z0-9 ._-]{1,80}$",
"root.attributes.default_milk_name.type": "S",
"root.attributes.default_milk_name.required": "False",
"root.attributes.default_milk_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.size_option_count.type": "N",
"root.attributes.size_option_count.required": "False",
"root.attributes.size_option_count.regex": "^\\d+$",
"root.attributes.milk_option_count.type": "N",
"root.attributes.milk_option_count.required": "False",
"root.attributes.milk_option_count.regex": "^\\d+$",
"root.attributes.add_on_option_count.type": "N",
"root.attributes.add_on_option_count.required": "False",
"root.attributes.add_on_option_count.regex": "^\\d+$",
"root.attributes.source_type.type": "S",
"root.attributes.source_type.required": "False",
"root.attributes.source_type.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.source_recipe_version.type": "N",
"root.attributes.source_recipe_version.required": "False",
"root.attributes.source_recipe_version.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.last_generated_at.type": "S",
"root.attributes.last_generated_at.required": "False",
"root.attributes.last_generated_at.format": "iso8601",
"root.attributes.last_generated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.display_order.type": "N",
"root.attributes.display_order.required": "False",
"root.attributes.display_order.regex": "^\\d+$",
"root.attributes.is_active.type": "BOOL",
"root.attributes.is_active.required": "False",
"root.attributes.is_active.regex": "^(true|false)$",
"root.attributes.is_deleted.type": "BOOL",
"root.attributes.is_deleted.required": "False",
"root.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.deleted_at.type": "S",
"root.attributes.deleted_at.required": "False",
"root.attributes.deleted_at.format": "iso8601",
"root.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.created_at.type": "S",
"root.attributes.created_at.required": "False",
"root.attributes.created_at.format": "iso8601",
"root.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.updated_at.type": "S",
"root.attributes.updated_at.required": "False",
"root.attributes.updated_at.format": "iso8601",
"root.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.idempotency_key.type": "S",
"root.attributes.idempotency_key.required": "False",
"root.attributes.idempotency_key.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.schema_version.type": "N",
"root.attributes.schema_version.required": "False",
"root.attributes.schema_version.regex": "^\\d+$",
"root.attributes.version.type": "N",
"root.attributes.version.required": "False",
"root.attributes.version.regex": "^\\d+$",
"root.attributes.children.type": "M",
"root.attributes.children.required": "False",
"root.attributes.children.attributes.product_add_on_options.type": "L",
"root.attributes.children.attributes.product_add_on_options.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.type": "M",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_add_on_option_id.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_add_on_option_id.required": "True",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_add_on_option_id.format": "uuidv4",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_add_on_option_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_id.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_id.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_id.format": "uuidv4",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_number.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_number.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_name.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_name.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.product_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.add_on_number.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.add_on_number.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.add_on_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.add_on_name.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.add_on_name.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.add_on_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.price.type": "N",
"root.attributes.children.attributes.product_add_on_options.items.attributes.price.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.price.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.sort_order.type": "N",
"root.attributes.children.attributes.product_add_on_options.items.attributes.sort_order.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.sort_order.regex": "^\\d+$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_default.type": "BOOL",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_default.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_default.regex": "^(true|false)$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_active.type": "BOOL",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_active.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_active.regex": "^(true|false)$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_deleted.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.deleted_at.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.product_add_on_options.items.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.created_at.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.product_add_on_options.items.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.updated_at.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.product_add_on_options.items.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.product_add_on_options.items.attributes.schema_version.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.product_add_on_options.items.attributes.version.type": "N",
"root.attributes.children.attributes.product_add_on_options.items.attributes.version.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.version.regex": "^\\d+$",
"root.attributes.children.attributes.product_milk_options.type": "L",
"root.attributes.children.attributes.product_milk_options.required": "False",
"root.attributes.children.attributes.product_milk_options.items.type": "M",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_milk_option_id.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_milk_option_id.required": "True",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_milk_option_id.format": "uuidv4",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_milk_option_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_id.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_id.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_id.format": "uuidv4",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_number.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_number.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_name.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_name.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.product_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.product_milk_options.items.attributes.milk_number.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.milk_number.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.milk_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.product_milk_options.items.attributes.milk_name.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.milk_name.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.milk_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.product_milk_options.items.attributes.price.type": "N",
"root.attributes.children.attributes.product_milk_options.items.attributes.price.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.price.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.product_milk_options.items.attributes.sort_order.type": "N",
"root.attributes.children.attributes.product_milk_options.items.attributes.sort_order.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.sort_order.regex": "^\\d+$",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_default.type": "BOOL",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_default.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_default.regex": "^(true|false)$",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_active.type": "BOOL",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_active.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_active.regex": "^(true|false)$",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_deleted.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.product_milk_options.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.deleted_at.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.product_milk_options.items.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_milk_options.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.created_at.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.product_milk_options.items.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_milk_options.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.updated_at.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.product_milk_options.items.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_milk_options.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.product_milk_options.items.attributes.schema_version.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.product_milk_options.items.attributes.version.type": "N",
"root.attributes.children.attributes.product_milk_options.items.attributes.version.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.version.regex": "^\\d+$",
"root.attributes.children.attributes.product_size_options.type": "L",
"root.attributes.children.attributes.product_size_options.required": "False",
"root.attributes.children.attributes.product_size_options.items.type": "M",
"root.attributes.children.attributes.product_size_options.items.attributes.product_size_option_id.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.product_size_option_id.required": "True",
"root.attributes.children.attributes.product_size_options.items.attributes.product_size_option_id.format": "uuidv4",
"root.attributes.children.attributes.product_size_options.items.attributes.product_size_option_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.children.attributes.product_size_options.items.attributes.product_id.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.product_id.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.product_id.format": "uuidv4",
"root.attributes.children.attributes.product_size_options.items.attributes.product_id.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.children.attributes.product_size_options.items.attributes.product_number.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.product_number.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.product_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.product_size_options.items.attributes.product_name.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.product_name.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.product_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.product_size_options.items.attributes.size_number.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.size_number.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.size_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.product_size_options.items.attributes.size_label.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.size_label.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.size_label.regex": "^[A-Za-z0-9 ._-]{1,80}$",
"root.attributes.children.attributes.product_size_options.items.attributes.upcharge.type": "N",
"root.attributes.children.attributes.product_size_options.items.attributes.upcharge.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.upcharge.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.product_size_options.items.attributes.sort_order.type": "N",
"root.attributes.children.attributes.product_size_options.items.attributes.sort_order.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.sort_order.regex": "^\\d+$",
"root.attributes.children.attributes.product_size_options.items.attributes.is_default.type": "BOOL",
"root.attributes.children.attributes.product_size_options.items.attributes.is_default.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.is_default.regex": "^(true|false)$",
"root.attributes.children.attributes.product_size_options.items.attributes.is_active.type": "BOOL",
"root.attributes.children.attributes.product_size_options.items.attributes.is_active.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.is_active.regex": "^(true|false)$",
"root.attributes.children.attributes.product_size_options.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.product_size_options.items.attributes.is_deleted.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.product_size_options.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.deleted_at.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.product_size_options.items.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_size_options.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.created_at.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.product_size_options.items.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_size_options.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.updated_at.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.product_size_options.items.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.product_size_options.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.product_size_options.items.attributes.schema_version.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.product_size_options.items.attributes.version.type": "N",
"root.attributes.children.attributes.product_size_options.items.attributes.version.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.version.regex": "^\\d+$"
}
Response Schema¶
{
"root.type": "M",
"root.required": "True",
"root.attributes.is_accepted.type": "BOOL",
"root.attributes.is_accepted.required": "True",
"root.attributes.message.type": "S",
"root.attributes.message.required": "True",
"root.attributes.request_id.type": "S",
"root.attributes.request_id.required": "False"
}
Request Payload¶
{
"product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c",
"store_id": "167ec01f-2aae-4482-902d-61c36b19b0d4",
"product_number": "CAFE-MOCHA-001",
"product_name": "Belgian Mocha",
"recipe_number": "RC-CAU-MO-101",
"recipe_name": "Belgian Mocha Base",
"category": "Coffee",
"family": "Mocha",
"base_price": "189.0",
"size_mode": "MULTI_SIZE",
"uses_milk": "True",
"has_add_ons": "True",
"default_size_label": "Medium",
"default_milk_name": "Fresh Milk",
"size_option_count": "3",
"milk_option_count": "2",
"add_on_option_count": "4",
"source_type": "menu_builder",
"source_recipe_version": "3",
"last_generated_at": "2026-05-14T13:18:47Z",
"display_order": "1",
"is_active": "True",
"is_deleted": "False",
"deleted_at": "1970-01-01T00:00:00Z",
"created_at": "2026-05-14T13:18:47Z",
"updated_at": "2026-05-14T13:18:47Z",
"idempotency_key": "idem-jef-caferimo-products-1",
"schema_version": "1",
"version": "1",
"children.product_add_on_options[0].product_add_on_option_id": "d9668d55-8e4a-48c3-ba15-2c16c61deb81",
"children.product_add_on_options[0].product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c",
"children.product_add_on_options[0].product_number": "JEF-PIZZA-001",
"children.product_add_on_options[0].product_name": "Margherita Pizza 10-inch",
"children.product_add_on_options[0].add_on_number": "ADD-TOP-CH1",
"children.product_add_on_options[0].add_on_name": "Extra Basil Topping",
"children.product_add_on_options[0].price": "35.0",
"children.product_add_on_options[0].sort_order": "10",
"children.product_add_on_options[0].is_default": "False",
"children.product_add_on_options[0].is_active": "True",
"children.product_add_on_options[0].is_deleted": "False",
"children.product_add_on_options[0].deleted_at": "1970-01-01T00:00:00Z",
"children.product_add_on_options[0].created_at": "2026-05-14T13:20:25Z",
"children.product_add_on_options[0].updated_at": "2026-05-14T13:20:25Z",
"children.product_add_on_options[0].schema_version": "1",
"children.product_add_on_options[0].version": "1",
"children.product_milk_options[0].product_milk_option_id": "ae08d4fc-64ea-4e77-b30a-b2217c16f178",
"children.product_milk_options[0].product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c",
"children.product_milk_options[0].product_number": "CAF-ICE-0042",
"children.product_milk_options[0].product_name": "Caferimo Iced Latte",
"children.product_milk_options[0].milk_number": "MILK-REG-01",
"children.product_milk_options[0].milk_name": "Fresh Milk Regular",
"children.product_milk_options[0].price": "28.0",
"children.product_milk_options[0].sort_order": "10",
"children.product_milk_options[0].is_default": "True",
"children.product_milk_options[0].is_active": "True",
"children.product_milk_options[0].is_deleted": "False",
"children.product_milk_options[0].deleted_at": "1970-01-01T00:00:00Z",
"children.product_milk_options[0].created_at": "2026-05-14T13:20:32Z",
"children.product_milk_options[0].updated_at": "2026-05-14T13:20:32Z",
"children.product_milk_options[0].schema_version": "1",
"children.product_milk_options[0].version": "1",
"children.product_size_options[0].product_size_option_id": "d3262eba-92ec-4cbb-9d60-40e3851f8dae",
"children.product_size_options[0].product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c",
"children.product_size_options[0].product_number": "CAF-MAT-2109",
"children.product_size_options[0].product_name": "Matte Chocolate Frappe",
"children.product_size_options[0].size_number": "S",
"children.product_size_options[0].size_label": "Small 12oz",
"children.product_size_options[0].upcharge": "0",
"children.product_size_options[0].sort_order": "1",
"children.product_size_options[0].is_default": "True",
"children.product_size_options[0].is_active": "True",
"children.product_size_options[0].is_deleted": "False",
"children.product_size_options[0].deleted_at": "1970-01-01T00:00:00Z",
"children.product_size_options[0].created_at": "2026-05-14T13:20:39Z",
"children.product_size_options[0].updated_at": "2026-05-14T13:20:39Z",
"children.product_size_options[0].schema_version": "1",
"children.product_size_options[0].version": "1"
}
Response¶
{
"root.type": "M",
"root.required": "True",
"root.attributes.is_accepted.type": "BOOL",
"root.attributes.is_accepted.required": "True",
"root.attributes.message.type": "S",
"root.attributes.message.required": "True",
"root.attributes.request_id.type": "S",
"root.attributes.request_id.required": "False"
}
CMD curl¶
curl -X PATCH "https://iim2eohqsl.execute-api.ap-southeast-1.amazonaws.com/prod/caferimo-products-patch-one" -H "Content-Type: application/json" --data-raw "{\"product_id\": \"bc75fb03-dc3d-4be8-a2da-49757957815c\", \"store_id\": \"167ec01f-2aae-4482-902d-61c36b19b0d4\", \"product_number\": \"CAFE-MOCHA-001\", \"product_name\": \"Belgian Mocha\", \"recipe_number\": \"RC-CAU-MO-101\", \"recipe_name\": \"Belgian Mocha Base\", \"category\": \"Coffee\", \"family\": \"Mocha\", \"base_price\": 189.0, \"size_mode\": \"MULTI_SIZE\", \"uses_milk\": true, \"has_add_ons\": true, \"default_size_label\": \"Medium\", \"default_milk_name\": \"Fresh Milk\", \"size_option_count\": 3, \"milk_option_count\": 2, \"add_on_option_count\": 4, \"source_type\": \"menu_builder\", \"source_recipe_version\": 3, \"last_generated_at\": \"2026-05-14T13:18:47Z\", \"display_order\": 1, \"is_active\": true, \"is_deleted\": false, \"deleted_at\": \"1970-01-01T00:00:00Z\", \"created_at\": \"2026-05-14T13:18:47Z\", \"updated_at\": \"2026-05-14T13:18:47Z\", \"idempotency_key\": \"idem-jef-caferimo-products-1\", \"schema_version\": 1, \"version\": 1, \"children\": {\"product_add_on_options\": [{\"product_add_on_option_id\": \"d9668d55-8e4a-48c3-ba15-2c16c61deb81\", \"product_id\": \"bc75fb03-dc3d-4be8-a2da-49757957815c\", \"product_number\": \"JEF-PIZZA-001\", \"product_name\": \"Margherita Pizza 10-inch\", \"add_on_number\": \"ADD-TOP-CH1\", \"add_on_name\": \"Extra Basil Topping\", \"price\": 35.0, \"sort_order\": 10, \"is_default\": false, \"is_active\": true, \"is_deleted\": false, \"deleted_at\": \"1970-01-01T00:00:00Z\", \"created_at\": \"2026-05-14T13:20:25Z\", \"updated_at\": \"2026-05-14T13:20:25Z\", \"schema_version\": 1, \"version\": 1}], \"product_milk_options\": [{\"product_milk_option_id\": \"ae08d4fc-64ea-4e77-b30a-b2217c16f178\", \"product_id\": \"bc75fb03-dc3d-4be8-a2da-49757957815c\", \"product_number\": \"CAF-ICE-0042\", \"product_name\": \"Caferimo Iced Latte\", \"milk_number\": \"MILK-REG-01\", \"milk_name\": \"Fresh Milk Regular\", \"price\": 28.0, \"sort_order\": 10, \"is_default\": true, \"is_active\": true, \"is_deleted\": false, \"deleted_at\": \"1970-01-01T00:00:00Z\", \"created_at\": \"2026-05-14T13:20:32Z\", \"updated_at\": \"2026-05-14T13:20:32Z\", \"schema_version\": 1, \"version\": 1}], \"product_size_options\": [{\"product_size_option_id\": \"d3262eba-92ec-4cbb-9d60-40e3851f8dae\", \"product_id\": \"bc75fb03-dc3d-4be8-a2da-49757957815c\", \"product_number\": \"CAF-MAT-2109\", \"product_name\": \"Matte Chocolate Frappe\", \"size_number\": \"S\", \"size_label\": \"Small 12oz\", \"upcharge\": 0, \"sort_order\": 1, \"is_default\": true, \"is_active\": true, \"is_deleted\": false, \"deleted_at\": \"1970-01-01T00:00:00Z\", \"created_at\": \"2026-05-14T13:20:39Z\", \"updated_at\": \"2026-05-14T13:20:39Z\", \"schema_version\": 1, \"version\": 1}]}}"
PowerShell curl¶
curl.exe -X PATCH "https://iim2eohqsl.execute-api.ap-southeast-1.amazonaws.com/prod/caferimo-products-patch-one" -H "Content-Type: application/json" --data-raw '{"product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c", "store_id": "167ec01f-2aae-4482-902d-61c36b19b0d4", "product_number": "CAFE-MOCHA-001", "product_name": "Belgian Mocha", "recipe_number": "RC-CAU-MO-101", "recipe_name": "Belgian Mocha Base", "category": "Coffee", "family": "Mocha", "base_price": 189.0, "size_mode": "MULTI_SIZE", "uses_milk": true, "has_add_ons": true, "default_size_label": "Medium", "default_milk_name": "Fresh Milk", "size_option_count": 3, "milk_option_count": 2, "add_on_option_count": 4, "source_type": "menu_builder", "source_recipe_version": 3, "last_generated_at": "2026-05-14T13:18:47Z", "display_order": 1, "is_active": true, "is_deleted": false, "deleted_at": "1970-01-01T00:00:00Z", "created_at": "2026-05-14T13:18:47Z", "updated_at": "2026-05-14T13:18:47Z", "idempotency_key": "idem-jef-caferimo-products-1", "schema_version": 1, "version": 1, "children": {"product_add_on_options": [{"product_add_on_option_id": "d9668d55-8e4a-48c3-ba15-2c16c61deb81", "product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c", "product_number": "JEF-PIZZA-001", "product_name": "Margherita Pizza 10-inch", "add_on_number": "ADD-TOP-CH1", "add_on_name": "Extra Basil Topping", "price": 35.0, "sort_order": 10, "is_default": false, "is_active": true, "is_deleted": false, "deleted_at": "1970-01-01T00:00:00Z", "created_at": "2026-05-14T13:20:25Z", "updated_at": "2026-05-14T13:20:25Z", "schema_version": 1, "version": 1}], "product_milk_options": [{"product_milk_option_id": "ae08d4fc-64ea-4e77-b30a-b2217c16f178", "product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c", "product_number": "CAF-ICE-0042", "product_name": "Caferimo Iced Latte", "milk_number": "MILK-REG-01", "milk_name": "Fresh Milk Regular", "price": 28.0, "sort_order": 10, "is_default": true, "is_active": true, "is_deleted": false, "deleted_at": "1970-01-01T00:00:00Z", "created_at": "2026-05-14T13:20:32Z", "updated_at": "2026-05-14T13:20:32Z", "schema_version": 1, "version": 1}], "product_size_options": [{"product_size_option_id": "d3262eba-92ec-4cbb-9d60-40e3851f8dae", "product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c", "product_number": "CAF-MAT-2109", "product_name": "Matte Chocolate Frappe", "size_number": "S", "size_label": "Small 12oz", "upcharge": 0, "sort_order": 1, "is_default": true, "is_active": true, "is_deleted": false, "deleted_at": "1970-01-01T00:00:00Z", "created_at": "2026-05-14T13:20:39Z", "updated_at": "2026-05-14T13:20:39Z", "schema_version": 1, "version": 1}]}}'