.. AUTO-GENERATED FILE. DO NOT EDIT. /caferimo-products-post-one =========================== Summary ------- - **Source repository:** ``jef-systems/jef-caferimo-backend`` - **Source SHA:** ``34c5a4f7f6891cb316e3bb2803081a3c35d4aa22`` - **Source run id:** ``25862691770`` - **Lambda function:** ``jef-caferimo-products-post-one`` - **HTTP method:** ``POST`` - **API path:** ``/caferimo-products-post-one`` - **Endpoint URL:** ``https://iim2eohqsl.execute-api.ap-southeast-1.amazonaws.com/prod/caferimo-products-post-one`` - **Payload mode:** ``json-body`` Description ----------- - ``Function``: jef-caferimo-products-post-one - ``Module``: jef-caferimo - ``Action``: post-one - ``Method``: POST - ``Invocation Mode``: ASYNC - ``Resource Path``: /caferimo-products-post-one - ``Table``: jef-caferimo-products - ``Primary Key``: product\_id API Gateway Response -------------------- - ``status\_code``: 202 - ``message``: Request accepted for asynchronous processing. Payload Example --------------- - ``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 Payload Schema -------------- .. code-block:: json { "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 --------------- .. code-block:: json { "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 --------------- .. code-block:: json { "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 -------- .. code-block:: json { "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 -------- .. code-block:: bat 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\": \"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 --------------- .. code-block:: powershell 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": "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}]}}'