/caferimo-products-patch-one¶
Summary¶
Source repository:
jef-systems/jef-caferimo-backendSource SHA:
34df92c8234ac60ec26994914058345ef85bfdf5Source run id:
26559419681Lambda 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: value-001product\_name: Cafe Mocharecipe\_number: value-001recipe\_name: value_00category: value-001family: value-001base\_price: 1size\_mode: fixeduses\_milk: Truehas\_add\_ons: Truedefault\_size\_label: Mediumdefault\_milk\_name: Fresh Milksize\_option\_count: 1milk\_option\_count: 1add\_on\_option\_count: 1source\_type: value-001source\_recipe\_version: 1last\_generated\_at: 2026-05-28T06:42:09Zdisplay\_order: 1created: 2026-05-28T06:42:09Zupdated: 2026-05-28T06:42:09Zidempotency\_key: value-001children.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: value-001children.product\_add\_on\_options\[0\].product\_name: value_00children.product\_add\_on\_options\[0\].add\_on\_number: value-001children.product\_add\_on\_options\[0\].add\_on\_name: Extra Shotchildren.product\_add\_on\_options\[0\].price: 1children.product\_add\_on\_options\[0\].sort\_order: 1children.product\_add\_on\_options\[0\].is\_default: Truechildren.product\_add\_on\_options\[0\].created: 2026-05-28T06:42:09Zchildren.product\_add\_on\_options\[0\].updated: 2026-05-28T06:42:09Zchildren.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: value-001children.product\_milk\_options\[0\].product\_name: value_00children.product\_milk\_options\[0\].milk\_number: value-001children.product\_milk\_options\[0\].milk\_name: Fresh Milkchildren.product\_milk\_options\[0\].price: 1children.product\_milk\_options\[0\].sort\_order: 1children.product\_milk\_options\[0\].is\_default: Truechildren.product\_milk\_options\[0\].created: 2026-05-28T06:42:09Zchildren.product\_milk\_options\[0\].updated: 2026-05-28T06:42:09Zchildren.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: value-001children.product\_size\_options\[0\].product\_name: value_00children.product\_size\_options\[0\].size\_label: Mediumchildren.product\_size\_options\[0\].upcharge: 1children.product\_size\_options\[0\].sort\_order: 1children.product\_size\_options\[0\].is\_default: Truechildren.product\_size\_options\[0\].created: 2026-05-28T06:42:09Zchildren.product\_size\_options\[0\].updated: 2026-05-28T06:42:09Z
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": "^(fixed|size_based)$",
"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": "^(Medium|Large)$",
"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.created.type": "S",
"root.attributes.created.required": "False",
"root.attributes.created.format": "iso8601",
"root.attributes.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.updated.type": "S",
"root.attributes.updated.required": "False",
"root.attributes.updated.format": "iso8601",
"root.attributes.updated.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.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.created.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.created.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.created.format": "iso8601",
"root.attributes.children.attributes.product_add_on_options.items.attributes.created.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.type": "S",
"root.attributes.children.attributes.product_add_on_options.items.attributes.updated.required": "False",
"root.attributes.children.attributes.product_add_on_options.items.attributes.updated.format": "iso8601",
"root.attributes.children.attributes.product_add_on_options.items.attributes.updated.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.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.created.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.created.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.created.format": "iso8601",
"root.attributes.children.attributes.product_milk_options.items.attributes.created.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.type": "S",
"root.attributes.children.attributes.product_milk_options.items.attributes.updated.required": "False",
"root.attributes.children.attributes.product_milk_options.items.attributes.updated.format": "iso8601",
"root.attributes.children.attributes.product_milk_options.items.attributes.updated.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.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_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": "^(Medium|Large)$",
"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.created.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.created.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.created.format": "iso8601",
"root.attributes.children.attributes.product_size_options.items.attributes.created.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.type": "S",
"root.attributes.children.attributes.product_size_options.items.attributes.updated.required": "False",
"root.attributes.children.attributes.product_size_options.items.attributes.updated.format": "iso8601",
"root.attributes.children.attributes.product_size_options.items.attributes.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$"
}
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": "value-001",
"product_name": "Cafe Mocha",
"recipe_number": "value-001",
"recipe_name": "value_00",
"category": "value-001",
"family": "value-001",
"base_price": "1",
"size_mode": "fixed",
"uses_milk": "True",
"has_add_ons": "True",
"default_size_label": "Medium",
"default_milk_name": "Fresh Milk",
"size_option_count": "1",
"milk_option_count": "1",
"add_on_option_count": "1",
"source_type": "value-001",
"source_recipe_version": "1",
"last_generated_at": "2026-05-28T06:42:09Z",
"display_order": "1",
"created": "2026-05-28T06:42:09Z",
"updated": "2026-05-28T06:42:09Z",
"idempotency_key": "value-001",
"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": "value-001",
"children.product_add_on_options[0].product_name": "value_00",
"children.product_add_on_options[0].add_on_number": "value-001",
"children.product_add_on_options[0].add_on_name": "Extra Shot",
"children.product_add_on_options[0].price": "1",
"children.product_add_on_options[0].sort_order": "1",
"children.product_add_on_options[0].is_default": "True",
"children.product_add_on_options[0].created": "2026-05-28T06:42:09Z",
"children.product_add_on_options[0].updated": "2026-05-28T06:42:09Z",
"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": "value-001",
"children.product_milk_options[0].product_name": "value_00",
"children.product_milk_options[0].milk_number": "value-001",
"children.product_milk_options[0].milk_name": "Fresh Milk",
"children.product_milk_options[0].price": "1",
"children.product_milk_options[0].sort_order": "1",
"children.product_milk_options[0].is_default": "True",
"children.product_milk_options[0].created": "2026-05-28T06:42:09Z",
"children.product_milk_options[0].updated": "2026-05-28T06:42:09Z",
"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": "value-001",
"children.product_size_options[0].product_name": "value_00",
"children.product_size_options[0].size_label": "Medium",
"children.product_size_options[0].upcharge": "1",
"children.product_size_options[0].sort_order": "1",
"children.product_size_options[0].is_default": "True",
"children.product_size_options[0].created": "2026-05-28T06:42:09Z",
"children.product_size_options[0].updated": "2026-05-28T06:42:09Z"
}
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\": \"value-001\", \"product_name\": \"Cafe Mocha\", \"recipe_number\": \"value-001\", \"recipe_name\": \"value_00\", \"category\": \"value-001\", \"family\": \"value-001\", \"base_price\": 1, \"size_mode\": \"fixed\", \"uses_milk\": true, \"has_add_ons\": true, \"default_size_label\": \"Medium\", \"default_milk_name\": \"Fresh Milk\", \"size_option_count\": 1, \"milk_option_count\": 1, \"add_on_option_count\": 1, \"source_type\": \"value-001\", \"source_recipe_version\": 1, \"last_generated_at\": \"2026-05-28T06:42:09Z\", \"display_order\": 1, \"created\": \"2026-05-28T06:42:09Z\", \"updated\": \"2026-05-28T06:42:09Z\", \"idempotency_key\": \"value-001\", \"children\": {\"product_add_on_options\": [{\"product_add_on_option_id\": \"d9668d55-8e4a-48c3-ba15-2c16c61deb81\", \"product_id\": \"bc75fb03-dc3d-4be8-a2da-49757957815c\", \"product_number\": \"value-001\", \"product_name\": \"value_00\", \"add_on_number\": \"value-001\", \"add_on_name\": \"Extra Shot\", \"price\": 1, \"sort_order\": 1, \"is_default\": true, \"created\": \"2026-05-28T06:42:09Z\", \"updated\": \"2026-05-28T06:42:09Z\"}], \"product_milk_options\": [{\"product_milk_option_id\": \"ae08d4fc-64ea-4e77-b30a-b2217c16f178\", \"product_id\": \"bc75fb03-dc3d-4be8-a2da-49757957815c\", \"product_number\": \"value-001\", \"product_name\": \"value_00\", \"milk_number\": \"value-001\", \"milk_name\": \"Fresh Milk\", \"price\": 1, \"sort_order\": 1, \"is_default\": true, \"created\": \"2026-05-28T06:42:09Z\", \"updated\": \"2026-05-28T06:42:09Z\"}], \"product_size_options\": [{\"product_size_option_id\": \"d3262eba-92ec-4cbb-9d60-40e3851f8dae\", \"product_id\": \"bc75fb03-dc3d-4be8-a2da-49757957815c\", \"product_number\": \"value-001\", \"product_name\": \"value_00\", \"size_label\": \"Medium\", \"upcharge\": 1, \"sort_order\": 1, \"is_default\": true, \"created\": \"2026-05-28T06:42:09Z\", \"updated\": \"2026-05-28T06:42:09Z\"}]}}"
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": "value-001", "product_name": "Cafe Mocha", "recipe_number": "value-001", "recipe_name": "value_00", "category": "value-001", "family": "value-001", "base_price": 1, "size_mode": "fixed", "uses_milk": true, "has_add_ons": true, "default_size_label": "Medium", "default_milk_name": "Fresh Milk", "size_option_count": 1, "milk_option_count": 1, "add_on_option_count": 1, "source_type": "value-001", "source_recipe_version": 1, "last_generated_at": "2026-05-28T06:42:09Z", "display_order": 1, "created": "2026-05-28T06:42:09Z", "updated": "2026-05-28T06:42:09Z", "idempotency_key": "value-001", "children": {"product_add_on_options": [{"product_add_on_option_id": "d9668d55-8e4a-48c3-ba15-2c16c61deb81", "product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c", "product_number": "value-001", "product_name": "value_00", "add_on_number": "value-001", "add_on_name": "Extra Shot", "price": 1, "sort_order": 1, "is_default": true, "created": "2026-05-28T06:42:09Z", "updated": "2026-05-28T06:42:09Z"}], "product_milk_options": [{"product_milk_option_id": "ae08d4fc-64ea-4e77-b30a-b2217c16f178", "product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c", "product_number": "value-001", "product_name": "value_00", "milk_number": "value-001", "milk_name": "Fresh Milk", "price": 1, "sort_order": 1, "is_default": true, "created": "2026-05-28T06:42:09Z", "updated": "2026-05-28T06:42:09Z"}], "product_size_options": [{"product_size_option_id": "d3262eba-92ec-4cbb-9d60-40e3851f8dae", "product_id": "bc75fb03-dc3d-4be8-a2da-49757957815c", "product_number": "value-001", "product_name": "value_00", "size_label": "Medium", "upcharge": 1, "sort_order": 1, "is_default": true, "created": "2026-05-28T06:42:09Z", "updated": "2026-05-28T06:42:09Z"}]}}'