/caferimo-products-post-one¶
Summary¶
Source repository:
jef-systems/jef-caferimo-backendSource SHA:
5300225d557dc9c5aa16a784fb5f4ca1fb5111ddSource run id:
25995658780Lambda function:
jef-caferimo-products-post-oneHTTP method:
POSTAPI path:
/caferimo-products-post-oneEndpoint URL:
https://iim2eohqsl.execute-api.ap-southeast-1.amazonaws.com/prod/caferimo-products-post-onePayload mode:
json-body
Description¶
Function: jef-caferimo-products-post-oneModule: jef-caferimoAction: post-oneMethod: POSTInvocation Mode: ASYNCResource Path: /caferimo-products-post-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: Premium Dieselrecipe\_number: value-001recipe\_name: value_00category: value-001family: value-001base\_price: 1size\_mode: value-001uses\_milk: Truehas\_add\_ons: Truedefault\_size\_label: value_00default\_milk\_name: No Milksize\_option\_count: 1milk\_option\_count: 1add\_on\_option\_count: 1source\_type: value-001source\_recipe\_version: 1last\_generated\_at: 2026-05-17T15:51:49Zdisplay\_order: 1is\_active: Trueis\_deleted: Truedeleted\_at: 2026-05-17T15:51:49Zcreated\_at: 2026-05-17T15:51:49Zupdated\_at: 2026-05-17T15:51:49Zidempotency\_key: value-001schema\_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: 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\].is\_active: Truechildren.product\_add\_on\_options\[0\].is\_deleted: Truechildren.product\_add\_on\_options\[0\].deleted\_at: 2026-05-17T15:51:49Zchildren.product\_add\_on\_options\[0\].created\_at: 2026-05-17T15:51:49Zchildren.product\_add\_on\_options\[0\].updated\_at: 2026-05-17T15:51:49Zchildren.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: 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\].is\_active: Truechildren.product\_milk\_options\[0\].is\_deleted: Truechildren.product\_milk\_options\[0\].deleted\_at: 2026-05-17T15:51:49Zchildren.product\_milk\_options\[0\].created\_at: 2026-05-17T15:51:49Zchildren.product\_milk\_options\[0\].updated\_at: 2026-05-17T15:51:49Zchildren.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: value-001children.product\_size\_options\[0\].product\_name: value_00children.product\_size\_options\[0\].size\_number: value-001children.product\_size\_options\[0\].size\_label: Smallchildren.product\_size\_options\[0\].upcharge: 1children.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: Truechildren.product\_size\_options\[0\].deleted\_at: 2026-05-17T15:51:49Zchildren.product\_size\_options\[0\].created\_at: 2026-05-17T15:51:49Zchildren.product\_size\_options\[0\].updated\_at: 2026-05-17T15:51:49Zchildren.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": "True",
"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": "True",
"root.attributes.product_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.product_name.type": "S",
"root.attributes.product_name.required": "True",
"root.attributes.product_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.recipe_number.type": "S",
"root.attributes.recipe_number.required": "True",
"root.attributes.recipe_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.recipe_name.type": "S",
"root.attributes.recipe_name.required": "True",
"root.attributes.recipe_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.category.type": "S",
"root.attributes.category.required": "True",
"root.attributes.category.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.family.type": "S",
"root.attributes.family.required": "True",
"root.attributes.family.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.base_price.type": "N",
"root.attributes.base_price.required": "True",
"root.attributes.base_price.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.size_mode.type": "S",
"root.attributes.size_mode.required": "True",
"root.attributes.size_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.uses_milk.type": "BOOL",
"root.attributes.uses_milk.required": "True",
"root.attributes.uses_milk.regex": "^(true|false)$",
"root.attributes.has_add_ons.type": "BOOL",
"root.attributes.has_add_ons.required": "True",
"root.attributes.has_add_ons.regex": "^(true|false)$",
"root.attributes.default_size_label.type": "S",
"root.attributes.default_size_label.required": "True",
"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": "True",
"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": "True",
"root.attributes.size_option_count.regex": "^\\d+$",
"root.attributes.milk_option_count.type": "N",
"root.attributes.milk_option_count.required": "True",
"root.attributes.milk_option_count.regex": "^\\d+$",
"root.attributes.add_on_option_count.type": "N",
"root.attributes.add_on_option_count.required": "True",
"root.attributes.add_on_option_count.regex": "^\\d+$",
"root.attributes.source_type.type": "S",
"root.attributes.source_type.required": "True",
"root.attributes.source_type.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.source_recipe_version.type": "N",
"root.attributes.source_recipe_version.required": "True",
"root.attributes.source_recipe_version.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.last_generated_at.type": "S",
"root.attributes.last_generated_at.required": "True",
"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": "True",
"root.attributes.display_order.regex": "^\\d+$",
"root.attributes.is_active.type": "BOOL",
"root.attributes.is_active.required": "True",
"root.attributes.is_active.regex": "^(true|false)$",
"root.attributes.is_deleted.type": "BOOL",
"root.attributes.is_deleted.required": "True",
"root.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.deleted_at.type": "S",
"root.attributes.deleted_at.required": "True",
"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": "True",
"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": "True",
"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": "True",
"root.attributes.idempotency_key.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.schema_version.type": "N",
"root.attributes.schema_version.required": "True",
"root.attributes.schema_version.regex": "^\\d+$",
"root.attributes.version.type": "N",
"root.attributes.version.required": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "True",
"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": "value-001",
"product_name": "Premium Diesel",
"recipe_number": "value-001",
"recipe_name": "value_00",
"category": "value-001",
"family": "value-001",
"base_price": "1",
"size_mode": "value-001",
"uses_milk": "True",
"has_add_ons": "True",
"default_size_label": "value_00",
"default_milk_name": "No 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-17T15:51:49Z",
"display_order": "1",
"is_active": "True",
"is_deleted": "True",
"deleted_at": "2026-05-17T15:51:49Z",
"created_at": "2026-05-17T15:51:49Z",
"updated_at": "2026-05-17T15:51:49Z",
"idempotency_key": "value-001",
"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": "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].is_active": "True",
"children.product_add_on_options[0].is_deleted": "True",
"children.product_add_on_options[0].deleted_at": "2026-05-17T15:51:49Z",
"children.product_add_on_options[0].created_at": "2026-05-17T15:51:49Z",
"children.product_add_on_options[0].updated_at": "2026-05-17T15:51:49Z",
"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": "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].is_active": "True",
"children.product_milk_options[0].is_deleted": "True",
"children.product_milk_options[0].deleted_at": "2026-05-17T15:51:49Z",
"children.product_milk_options[0].created_at": "2026-05-17T15:51:49Z",
"children.product_milk_options[0].updated_at": "2026-05-17T15:51:49Z",
"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": "value-001",
"children.product_size_options[0].product_name": "value_00",
"children.product_size_options[0].size_number": "value-001",
"children.product_size_options[0].size_label": "Small",
"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].is_active": "True",
"children.product_size_options[0].is_deleted": "True",
"children.product_size_options[0].deleted_at": "2026-05-17T15:51:49Z",
"children.product_size_options[0].created_at": "2026-05-17T15:51:49Z",
"children.product_size_options[0].updated_at": "2026-05-17T15:51:49Z",
"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 POST "https://iim2eohqsl.execute-api.ap-southeast-1.amazonaws.com/prod/caferimo-products-post-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\": \"Premium Diesel\", \"recipe_number\": \"value-001\", \"recipe_name\": \"value_00\", \"category\": \"value-001\", \"family\": \"value-001\", \"base_price\": 1, \"size_mode\": \"value-001\", \"uses_milk\": true, \"has_add_ons\": true, \"default_size_label\": \"value_00\", \"default_milk_name\": \"No 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-17T15:51:49Z\", \"display_order\": 1, \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-17T15:51:49Z\", \"created_at\": \"2026-05-17T15:51:49Z\", \"updated_at\": \"2026-05-17T15:51:49Z\", \"idempotency_key\": \"value-001\", \"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\": \"value-001\", \"product_name\": \"value_00\", \"add_on_number\": \"value-001\", \"add_on_name\": \"Extra Shot\", \"price\": 1, \"sort_order\": 1, \"is_default\": true, \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-17T15:51:49Z\", \"created_at\": \"2026-05-17T15:51:49Z\", \"updated_at\": \"2026-05-17T15:51:49Z\", \"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\": \"value-001\", \"product_name\": \"value_00\", \"milk_number\": \"value-001\", \"milk_name\": \"Fresh Milk\", \"price\": 1, \"sort_order\": 1, \"is_default\": true, \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-17T15:51:49Z\", \"created_at\": \"2026-05-17T15:51:49Z\", \"updated_at\": \"2026-05-17T15:51:49Z\", \"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\": \"value-001\", \"product_name\": \"value_00\", \"size_number\": \"value-001\", \"size_label\": \"Small\", \"upcharge\": 1, \"sort_order\": 1, \"is_default\": true, \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-17T15:51:49Z\", \"created_at\": \"2026-05-17T15:51:49Z\", \"updated_at\": \"2026-05-17T15:51:49Z\", \"schema_version\": 1, \"version\": 1}]}}"
PowerShell curl¶
curl.exe -X POST "https://iim2eohqsl.execute-api.ap-southeast-1.amazonaws.com/prod/caferimo-products-post-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": "Premium Diesel", "recipe_number": "value-001", "recipe_name": "value_00", "category": "value-001", "family": "value-001", "base_price": 1, "size_mode": "value-001", "uses_milk": true, "has_add_ons": true, "default_size_label": "value_00", "default_milk_name": "No 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-17T15:51:49Z", "display_order": 1, "is_active": true, "is_deleted": true, "deleted_at": "2026-05-17T15:51:49Z", "created_at": "2026-05-17T15:51:49Z", "updated_at": "2026-05-17T15:51:49Z", "idempotency_key": "value-001", "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": "value-001", "product_name": "value_00", "add_on_number": "value-001", "add_on_name": "Extra Shot", "price": 1, "sort_order": 1, "is_default": true, "is_active": true, "is_deleted": true, "deleted_at": "2026-05-17T15:51:49Z", "created_at": "2026-05-17T15:51:49Z", "updated_at": "2026-05-17T15:51:49Z", "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": "value-001", "product_name": "value_00", "milk_number": "value-001", "milk_name": "Fresh Milk", "price": 1, "sort_order": 1, "is_default": true, "is_active": true, "is_deleted": true, "deleted_at": "2026-05-17T15:51:49Z", "created_at": "2026-05-17T15:51:49Z", "updated_at": "2026-05-17T15:51:49Z", "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": "value-001", "product_name": "value_00", "size_number": "value-001", "size_label": "Small", "upcharge": 1, "sort_order": 1, "is_default": true, "is_active": true, "is_deleted": true, "deleted_at": "2026-05-17T15:51:49Z", "created_at": "2026-05-17T15:51:49Z", "updated_at": "2026-05-17T15:51:49Z", "schema_version": 1, "version": 1}]}}'