/store-orders-post-one¶
Summary¶
Source repository:
jef-systems/jef-store-backendSource SHA:
6b1275b9498cdf33bf9dd5dd1520f3d9d1602b61Source run id:
26041283010Lambda function:
jef-store-orders-post-oneHTTP method:
POSTAPI path:
/store-orders-post-oneEndpoint URL:
https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-orders-post-onePayload mode:
json-body
Description¶
Function: jef-store-orders-post-oneModule: jef-storeAction: post-oneMethod: POSTInvocation Mode: ASYNCResource Path: /store-orders-post-oneTable: jef-store-ordersPrimary Key: order_number
API Gateway Response¶
status\_code: 202message: Request accepted for asynchronous processing.
Payload Example¶
entity\_number: 218ea31f-036f-4b70-a0d6-1207af724d49order\_number: 86b39313-ba69-445c-a1f3-44934db7442bsource: value_00created\_at: 2026-05-18T14:46:36Zpaid\_at: 2026-05-18T14:46:36Zstatus: value_00payment\_status: value-001payment\_method: value-001payment\_reference: value-001receipt\_mode: value-001receipt\_printed\_at: 2026-05-18T14:46:36Zcustomer\_number: 3dfd5fe5-1dce-4d3b-9f6e-2c9d75a472e3customer\_name: Ramon Santoscustomer\_phone: 09170000001customer\_email: sample001@example.comdelivery\_mode: value-001full\_address: Sample text 001branch\_pickup\_name: North Branchdelivery\_instructions: Sample text 001internal\_note: Sample text 001call\_before\_delivery: Truesubtotal: 1shipping\_fee: 1discount: 1grand\_total: 1amount\_paid: 1total\_quantity: 1is\_deleted: Truedeleted\_at: 2026-05-18T14:46:36Zupdated\_at: 2026-05-18T14:46:36Zidempotency\_key: Sample text 001schema\_version: 1version: 1children.order\_items\[0\].order\_item\_id: 1307aafd-6501-496a-9be1-3cc2a69b1a6fchildren.order\_items\[0\].entity\_number: 218ea31f-036f-4b70-a0d6-1207af724d49children.order\_items\[0\].order\_number: 86b39313-ba69-445c-a1f3-44934db7442bchildren.order\_items\[0\].line\_number: 1children.order\_items\[0\].product\_number: 26f8bbc5-06ff-4167-8390-266d2a2c4303children.order\_items\[0\].sku: value_00children.order\_items\[0\].product\_name: Dieselchildren.order\_items\[0\].quantity: 1children.order\_items\[0\].unit\_price: 1children.order\_items\[0\].line\_total: 1children.order\_items\[0\].is\_voided: Truechildren.order\_items\[0\].is\_deleted: Truechildren.order\_items\[0\].deleted\_at: 2026-05-18T14:46:36Zchildren.order\_items\[0\].created\_at: 2026-05-18T14:46:36Zchildren.order\_items\[0\].updated\_at: 2026-05-18T14:46:36Zchildren.order\_items\[0\].idempotency\_key: PO line diesel 001children.order\_items\[0\].schema\_version: 1children.order\_items\[0\].version: 1children.payments\[0\].payment\_id: 33b4d6c3-a863-4720-acab-6f2f9819d379children.payments\[0\].entity\_number: 218ea31f-036f-4b70-a0d6-1207af724d49children.payments\[0\].order\_number: 86b39313-ba69-445c-a1f3-44934db7442bchildren.payments\[0\].payment\_reference: value-001children.payments\[0\].payment\_method: value-001children.payments\[0\].payment\_status: value-001children.payments\[0\].amount\_due: 1children.payments\[0\].amount\_paid: 1children.payments\[0\].paid\_at: 2026-05-18T14:46:36Zchildren.payments\[0\].failure\_reason: Card declined by bankchildren.payments\[0\].is\_active: Truechildren.payments\[0\].is\_deleted: Truechildren.payments\[0\].deleted\_at: 2026-05-18T14:46:36Zchildren.payments\[0\].created\_at: 2026-05-18T14:46:36Zchildren.payments\[0\].updated\_at: 2026-05-18T14:46:36Zchildren.payments\[0\].idempotency\_key: Sample text 001children.payments\[0\].schema\_version: 1children.payments\[0\].version: 1
Payload Schema¶
{
"root.type": "M",
"root.required": "True",
"root.attributes.entity_number.type": "S",
"root.attributes.entity_number.required": "True",
"root.attributes.entity_number.format": "uuidv4",
"root.attributes.entity_number.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.order_number.type": "S",
"root.attributes.order_number.required": "True",
"root.attributes.order_number.format": "uuidv4",
"root.attributes.order_number.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.source.type": "S",
"root.attributes.source.required": "True",
"root.attributes.source.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"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.paid_at.type": "S",
"root.attributes.paid_at.required": "True",
"root.attributes.paid_at.format": "iso8601",
"root.attributes.paid_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.status.type": "S",
"root.attributes.status.required": "True",
"root.attributes.status.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.payment_status.type": "S",
"root.attributes.payment_status.required": "True",
"root.attributes.payment_status.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.payment_method.type": "S",
"root.attributes.payment_method.required": "True",
"root.attributes.payment_method.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.payment_reference.type": "S",
"root.attributes.payment_reference.required": "True",
"root.attributes.payment_reference.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.receipt_mode.type": "S",
"root.attributes.receipt_mode.required": "True",
"root.attributes.receipt_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.receipt_printed_at.type": "S",
"root.attributes.receipt_printed_at.required": "True",
"root.attributes.receipt_printed_at.format": "iso8601",
"root.attributes.receipt_printed_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.customer_number.type": "S",
"root.attributes.customer_number.required": "True",
"root.attributes.customer_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.customer_name.type": "S",
"root.attributes.customer_name.required": "True",
"root.attributes.customer_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.customer_phone.type": "S",
"root.attributes.customer_phone.required": "True",
"root.attributes.customer_phone.regex": "^[0-9+() .-]{0,30}$",
"root.attributes.customer_email.type": "S",
"root.attributes.customer_email.required": "True",
"root.attributes.customer_email.regex": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
"root.attributes.delivery_mode.type": "S",
"root.attributes.delivery_mode.required": "True",
"root.attributes.delivery_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.full_address.type": "S",
"root.attributes.full_address.required": "True",
"root.attributes.full_address.regex": "^.{0,500}$",
"root.attributes.branch_pickup_name.type": "S",
"root.attributes.branch_pickup_name.required": "True",
"root.attributes.branch_pickup_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.delivery_instructions.type": "S",
"root.attributes.delivery_instructions.required": "True",
"root.attributes.delivery_instructions.regex": "^.{0,500}$",
"root.attributes.internal_note.type": "S",
"root.attributes.internal_note.required": "True",
"root.attributes.internal_note.regex": "^.{0,500}$",
"root.attributes.call_before_delivery.type": "BOOL",
"root.attributes.call_before_delivery.required": "True",
"root.attributes.call_before_delivery.regex": "^(true|false)$",
"root.attributes.subtotal.type": "N",
"root.attributes.subtotal.required": "True",
"root.attributes.subtotal.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.shipping_fee.type": "N",
"root.attributes.shipping_fee.required": "True",
"root.attributes.shipping_fee.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.discount.type": "N",
"root.attributes.discount.required": "True",
"root.attributes.discount.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.grand_total.type": "N",
"root.attributes.grand_total.required": "True",
"root.attributes.grand_total.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.amount_paid.type": "N",
"root.attributes.amount_paid.required": "True",
"root.attributes.amount_paid.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.total_quantity.type": "N",
"root.attributes.total_quantity.required": "True",
"root.attributes.total_quantity.regex": "^\\d+$",
"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.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": "^.{1,300}$",
"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.order_items.type": "L",
"root.attributes.children.attributes.order_items.required": "False",
"root.attributes.children.attributes.order_items.items.type": "M",
"root.attributes.children.attributes.order_items.items.attributes.order_item_id.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.order_item_id.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.order_item_id.format": "uuidv4",
"root.attributes.children.attributes.order_items.items.attributes.order_item_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.order_items.items.attributes.entity_number.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.entity_number.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.entity_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.order_items.items.attributes.order_number.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.order_number.required": "False",
"root.attributes.children.attributes.order_items.items.attributes.order_number.format": "uuidv4",
"root.attributes.children.attributes.order_items.items.attributes.order_number.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.order_items.items.attributes.line_number.type": "N",
"root.attributes.children.attributes.order_items.items.attributes.line_number.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.line_number.regex": "^\\d+$",
"root.attributes.children.attributes.order_items.items.attributes.product_number.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.product_number.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.product_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.order_items.items.attributes.sku.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.sku.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.sku.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.children.attributes.order_items.items.attributes.product_name.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.product_name.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.product_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.children.attributes.order_items.items.attributes.quantity.type": "N",
"root.attributes.children.attributes.order_items.items.attributes.quantity.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.quantity.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.order_items.items.attributes.unit_price.type": "N",
"root.attributes.children.attributes.order_items.items.attributes.unit_price.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.unit_price.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.order_items.items.attributes.line_total.type": "N",
"root.attributes.children.attributes.order_items.items.attributes.line_total.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.line_total.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.order_items.items.attributes.is_voided.type": "BOOL",
"root.attributes.children.attributes.order_items.items.attributes.is_voided.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.is_voided.regex": "^(true|false)$",
"root.attributes.children.attributes.order_items.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.order_items.items.attributes.is_deleted.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.order_items.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.deleted_at.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.order_items.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.order_items.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.created_at.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.order_items.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.order_items.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.updated_at.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.order_items.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.order_items.items.attributes.idempotency_key.type": "S",
"root.attributes.children.attributes.order_items.items.attributes.idempotency_key.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.idempotency_key.regex": "^.{1,300}$",
"root.attributes.children.attributes.order_items.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.order_items.items.attributes.schema_version.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.order_items.items.attributes.version.type": "N",
"root.attributes.children.attributes.order_items.items.attributes.version.required": "True",
"root.attributes.children.attributes.order_items.items.attributes.version.regex": "^\\d+$",
"root.attributes.children.attributes.payments.type": "L",
"root.attributes.children.attributes.payments.required": "False",
"root.attributes.children.attributes.payments.items.type": "M",
"root.attributes.children.attributes.payments.items.attributes.payment_id.type": "S",
"root.attributes.children.attributes.payments.items.attributes.payment_id.required": "True",
"root.attributes.children.attributes.payments.items.attributes.payment_id.format": "uuidv4",
"root.attributes.children.attributes.payments.items.attributes.payment_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.payments.items.attributes.entity_number.type": "S",
"root.attributes.children.attributes.payments.items.attributes.entity_number.required": "True",
"root.attributes.children.attributes.payments.items.attributes.entity_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.payments.items.attributes.order_number.type": "S",
"root.attributes.children.attributes.payments.items.attributes.order_number.required": "False",
"root.attributes.children.attributes.payments.items.attributes.order_number.format": "uuidv4",
"root.attributes.children.attributes.payments.items.attributes.order_number.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.payments.items.attributes.payment_reference.type": "S",
"root.attributes.children.attributes.payments.items.attributes.payment_reference.required": "True",
"root.attributes.children.attributes.payments.items.attributes.payment_reference.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.payments.items.attributes.payment_method.type": "S",
"root.attributes.children.attributes.payments.items.attributes.payment_method.required": "True",
"root.attributes.children.attributes.payments.items.attributes.payment_method.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.payments.items.attributes.payment_status.type": "S",
"root.attributes.children.attributes.payments.items.attributes.payment_status.required": "True",
"root.attributes.children.attributes.payments.items.attributes.payment_status.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.payments.items.attributes.amount_due.type": "N",
"root.attributes.children.attributes.payments.items.attributes.amount_due.required": "True",
"root.attributes.children.attributes.payments.items.attributes.amount_due.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.payments.items.attributes.amount_paid.type": "N",
"root.attributes.children.attributes.payments.items.attributes.amount_paid.required": "True",
"root.attributes.children.attributes.payments.items.attributes.amount_paid.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.payments.items.attributes.paid_at.type": "S",
"root.attributes.children.attributes.payments.items.attributes.paid_at.required": "True",
"root.attributes.children.attributes.payments.items.attributes.paid_at.format": "iso8601",
"root.attributes.children.attributes.payments.items.attributes.paid_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.payments.items.attributes.failure_reason.type": "S",
"root.attributes.children.attributes.payments.items.attributes.failure_reason.required": "True",
"root.attributes.children.attributes.payments.items.attributes.failure_reason.regex": "^.{0,500}$",
"root.attributes.children.attributes.payments.items.attributes.is_active.type": "BOOL",
"root.attributes.children.attributes.payments.items.attributes.is_active.required": "True",
"root.attributes.children.attributes.payments.items.attributes.is_active.regex": "^(true|false)$",
"root.attributes.children.attributes.payments.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.payments.items.attributes.is_deleted.required": "True",
"root.attributes.children.attributes.payments.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.payments.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.payments.items.attributes.deleted_at.required": "True",
"root.attributes.children.attributes.payments.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.payments.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.payments.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.payments.items.attributes.created_at.required": "True",
"root.attributes.children.attributes.payments.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.payments.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.payments.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.payments.items.attributes.updated_at.required": "True",
"root.attributes.children.attributes.payments.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.payments.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.payments.items.attributes.idempotency_key.type": "S",
"root.attributes.children.attributes.payments.items.attributes.idempotency_key.required": "True",
"root.attributes.children.attributes.payments.items.attributes.idempotency_key.regex": "^.{1,300}$",
"root.attributes.children.attributes.payments.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.payments.items.attributes.schema_version.required": "True",
"root.attributes.children.attributes.payments.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.payments.items.attributes.version.type": "N",
"root.attributes.children.attributes.payments.items.attributes.version.required": "True",
"root.attributes.children.attributes.payments.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¶
{
"entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49",
"order_number": "86b39313-ba69-445c-a1f3-44934db7442b",
"source": "value_00",
"created_at": "2026-05-18T14:46:36Z",
"paid_at": "2026-05-18T14:46:36Z",
"status": "value_00",
"payment_status": "value-001",
"payment_method": "value-001",
"payment_reference": "value-001",
"receipt_mode": "value-001",
"receipt_printed_at": "2026-05-18T14:46:36Z",
"customer_number": "3dfd5fe5-1dce-4d3b-9f6e-2c9d75a472e3",
"customer_name": "Ramon Santos",
"customer_phone": "09170000001",
"customer_email": "sample001@example.com",
"delivery_mode": "value-001",
"full_address": "Sample text 001",
"branch_pickup_name": "North Branch",
"delivery_instructions": "Sample text 001",
"internal_note": "Sample text 001",
"call_before_delivery": "True",
"subtotal": "1",
"shipping_fee": "1",
"discount": "1",
"grand_total": "1",
"amount_paid": "1",
"total_quantity": "1",
"is_deleted": "True",
"deleted_at": "2026-05-18T14:46:36Z",
"updated_at": "2026-05-18T14:46:36Z",
"idempotency_key": "Sample text 001",
"schema_version": "1",
"version": "1",
"children.order_items[0].order_item_id": "1307aafd-6501-496a-9be1-3cc2a69b1a6f",
"children.order_items[0].entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49",
"children.order_items[0].order_number": "86b39313-ba69-445c-a1f3-44934db7442b",
"children.order_items[0].line_number": "1",
"children.order_items[0].product_number": "26f8bbc5-06ff-4167-8390-266d2a2c4303",
"children.order_items[0].sku": "value_00",
"children.order_items[0].product_name": "Diesel",
"children.order_items[0].quantity": "1",
"children.order_items[0].unit_price": "1",
"children.order_items[0].line_total": "1",
"children.order_items[0].is_voided": "True",
"children.order_items[0].is_deleted": "True",
"children.order_items[0].deleted_at": "2026-05-18T14:46:36Z",
"children.order_items[0].created_at": "2026-05-18T14:46:36Z",
"children.order_items[0].updated_at": "2026-05-18T14:46:36Z",
"children.order_items[0].idempotency_key": "PO line diesel 001",
"children.order_items[0].schema_version": "1",
"children.order_items[0].version": "1",
"children.payments[0].payment_id": "33b4d6c3-a863-4720-acab-6f2f9819d379",
"children.payments[0].entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49",
"children.payments[0].order_number": "86b39313-ba69-445c-a1f3-44934db7442b",
"children.payments[0].payment_reference": "value-001",
"children.payments[0].payment_method": "value-001",
"children.payments[0].payment_status": "value-001",
"children.payments[0].amount_due": "1",
"children.payments[0].amount_paid": "1",
"children.payments[0].paid_at": "2026-05-18T14:46:36Z",
"children.payments[0].failure_reason": "Card declined by bank",
"children.payments[0].is_active": "True",
"children.payments[0].is_deleted": "True",
"children.payments[0].deleted_at": "2026-05-18T14:46:36Z",
"children.payments[0].created_at": "2026-05-18T14:46:36Z",
"children.payments[0].updated_at": "2026-05-18T14:46:36Z",
"children.payments[0].idempotency_key": "Sample text 001",
"children.payments[0].schema_version": "1",
"children.payments[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://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-orders-post-one" -H "Content-Type: application/json" --data-raw "{\"entity_number\": \"218ea31f-036f-4b70-a0d6-1207af724d49\", \"order_number\": \"86b39313-ba69-445c-a1f3-44934db7442b\", \"source\": \"value_00\", \"created_at\": \"2026-05-18T14:46:36Z\", \"paid_at\": \"2026-05-18T14:46:36Z\", \"status\": \"value_00\", \"payment_status\": \"value-001\", \"payment_method\": \"value-001\", \"payment_reference\": \"value-001\", \"receipt_mode\": \"value-001\", \"receipt_printed_at\": \"2026-05-18T14:46:36Z\", \"customer_number\": \"3dfd5fe5-1dce-4d3b-9f6e-2c9d75a472e3\", \"customer_name\": \"Ramon Santos\", \"customer_phone\": \"09170000001\", \"customer_email\": \"sample001@example.com\", \"delivery_mode\": \"value-001\", \"full_address\": \"Sample text 001\", \"branch_pickup_name\": \"North Branch\", \"delivery_instructions\": \"Sample text 001\", \"internal_note\": \"Sample text 001\", \"call_before_delivery\": true, \"subtotal\": 1, \"shipping_fee\": 1, \"discount\": 1, \"grand_total\": 1, \"amount_paid\": 1, \"total_quantity\": 1, \"is_deleted\": true, \"deleted_at\": \"2026-05-18T14:46:36Z\", \"updated_at\": \"2026-05-18T14:46:36Z\", \"idempotency_key\": \"Sample text 001\", \"schema_version\": 1, \"version\": 1, \"children\": {\"order_items\": [{\"order_item_id\": \"1307aafd-6501-496a-9be1-3cc2a69b1a6f\", \"entity_number\": \"218ea31f-036f-4b70-a0d6-1207af724d49\", \"order_number\": \"86b39313-ba69-445c-a1f3-44934db7442b\", \"line_number\": 1, \"product_number\": \"26f8bbc5-06ff-4167-8390-266d2a2c4303\", \"sku\": \"value_00\", \"product_name\": \"Diesel\", \"quantity\": 1, \"unit_price\": 1, \"line_total\": 1, \"is_voided\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-18T14:46:36Z\", \"created_at\": \"2026-05-18T14:46:36Z\", \"updated_at\": \"2026-05-18T14:46:36Z\", \"idempotency_key\": \"PO line diesel 001\", \"schema_version\": 1, \"version\": 1}], \"payments\": [{\"payment_id\": \"33b4d6c3-a863-4720-acab-6f2f9819d379\", \"entity_number\": \"218ea31f-036f-4b70-a0d6-1207af724d49\", \"order_number\": \"86b39313-ba69-445c-a1f3-44934db7442b\", \"payment_reference\": \"value-001\", \"payment_method\": \"value-001\", \"payment_status\": \"value-001\", \"amount_due\": 1, \"amount_paid\": 1, \"paid_at\": \"2026-05-18T14:46:36Z\", \"failure_reason\": \"Card declined by bank\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-18T14:46:36Z\", \"created_at\": \"2026-05-18T14:46:36Z\", \"updated_at\": \"2026-05-18T14:46:36Z\", \"idempotency_key\": \"Sample text 001\", \"schema_version\": 1, \"version\": 1}]}}"
PowerShell curl¶
curl.exe -X POST "https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-orders-post-one" -H "Content-Type: application/json" --data-raw '{"entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49", "order_number": "86b39313-ba69-445c-a1f3-44934db7442b", "source": "value_00", "created_at": "2026-05-18T14:46:36Z", "paid_at": "2026-05-18T14:46:36Z", "status": "value_00", "payment_status": "value-001", "payment_method": "value-001", "payment_reference": "value-001", "receipt_mode": "value-001", "receipt_printed_at": "2026-05-18T14:46:36Z", "customer_number": "3dfd5fe5-1dce-4d3b-9f6e-2c9d75a472e3", "customer_name": "Ramon Santos", "customer_phone": "09170000001", "customer_email": "sample001@example.com", "delivery_mode": "value-001", "full_address": "Sample text 001", "branch_pickup_name": "North Branch", "delivery_instructions": "Sample text 001", "internal_note": "Sample text 001", "call_before_delivery": true, "subtotal": 1, "shipping_fee": 1, "discount": 1, "grand_total": 1, "amount_paid": 1, "total_quantity": 1, "is_deleted": true, "deleted_at": "2026-05-18T14:46:36Z", "updated_at": "2026-05-18T14:46:36Z", "idempotency_key": "Sample text 001", "schema_version": 1, "version": 1, "children": {"order_items": [{"order_item_id": "1307aafd-6501-496a-9be1-3cc2a69b1a6f", "entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49", "order_number": "86b39313-ba69-445c-a1f3-44934db7442b", "line_number": 1, "product_number": "26f8bbc5-06ff-4167-8390-266d2a2c4303", "sku": "value_00", "product_name": "Diesel", "quantity": 1, "unit_price": 1, "line_total": 1, "is_voided": true, "is_deleted": true, "deleted_at": "2026-05-18T14:46:36Z", "created_at": "2026-05-18T14:46:36Z", "updated_at": "2026-05-18T14:46:36Z", "idempotency_key": "PO line diesel 001", "schema_version": 1, "version": 1}], "payments": [{"payment_id": "33b4d6c3-a863-4720-acab-6f2f9819d379", "entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49", "order_number": "86b39313-ba69-445c-a1f3-44934db7442b", "payment_reference": "value-001", "payment_method": "value-001", "payment_status": "value-001", "amount_due": 1, "amount_paid": 1, "paid_at": "2026-05-18T14:46:36Z", "failure_reason": "Card declined by bank", "is_active": true, "is_deleted": true, "deleted_at": "2026-05-18T14:46:36Z", "created_at": "2026-05-18T14:46:36Z", "updated_at": "2026-05-18T14:46:36Z", "idempotency_key": "Sample text 001", "schema_version": 1, "version": 1}]}}'