/store-checkout-drafts-post-one

Summary

  • Source repository: jef-systems/jef-store-backend

  • Source SHA: 51d8f54b03209213e4a08efd91d0aec0ff5db1e0

  • Source run id: 28375175269

  • Lambda function: jef-store-checkout-drafts-post-one

  • HTTP method: POST

  • API path: /store-checkout-drafts-post-one

  • Endpoint URL: https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-checkout-drafts-post-one

  • Payload mode: json-body

Description

Function

jef-store-checkout-drafts-post-one Logical ID: jef-store:jef-store-checkout-drafts:post-one Order Number: 002

Module

jef-store

Action

post-one

Method

POST

Invocation Mode

ASYNC

Resource Path

/store-checkout-drafts-post-one Endpoint Name: jef-store-checkout-drafts-post-one

Table

jef-store-checkout-drafts

Primary Key

checkout_draft_id

API Gateway Response

status\_code

202

message

Request accepted for asynchronous processing.

Payload Example

checkout\_draft\_id

74472bec-ddb4-4380-812c-1b8678f15bd9

cart\_id

d429f1ec-7cd3-4bca-968f-c32b05f78682

entity\_number

01c6a13b-b433-4d9a-9ea9-7c0f08991cd2

employee\_number

38cc5d12-8142-45aa-8562-a273d87d4214

customer\_number

91596400-d3fe-46bf-89b5-05d3ec1de673

customer\_name

Sample Name

phone

value-001

email

value-001

delivery\_mode

value-001

payment\_method

value-001

receipt\_mode

value-001

branch\_pickup\_name

Sample Name

full\_address

value-001

delivery\_instructions

value-001

internal\_note

value-001

call\_before\_delivery

True

subtotal

1

shipping\_fee

1

discount

1

grand\_total

1

draft\_status

value-001

is\_active

True

is\_deleted

True

deleted\_at

2026-06-29T13:20:01Z

created

2026-06-29T13:20:01Z

updated

2026-06-29T13:20:01Z

idempotency\_key

value-001

schema\_version

1

version

1

children.jef-store-checkout-draft-items\[0\].checkout\_draft\_item\_id

b63cafee-de38-4a34-8ff4-7336b32254d9

children.jef-store-checkout-draft-items\[0\].checkout\_draft\_id

74472bec-ddb4-4380-812c-1b8678f15bd9

children.jef-store-checkout-draft-items\[0\].entity\_number

10d58b84-7a6f-4168-b4e4-e76dbc011126

children.jef-store-checkout-draft-items\[0\].line\_number

1

children.jef-store-checkout-draft-items\[0\].product\_number

dccad027-caa3-4578-af2f-61d045c55e80

children.jef-store-checkout-draft-items\[0\].sku

value-001

children.jef-store-checkout-draft-items\[0\].product\_name

Sample Name

children.jef-store-checkout-draft-items\[0\].quantity

1

children.jef-store-checkout-draft-items\[0\].unit\_price

1

children.jef-store-checkout-draft-items\[0\].line\_total

1

children.jef-store-checkout-draft-items\[0\].is\_active

True

children.jef-store-checkout-draft-items\[0\].is\_deleted

True

children.jef-store-checkout-draft-items\[0\].deleted\_at

2026-06-29T13:20:01Z

children.jef-store-checkout-draft-items\[0\].created

2026-06-29T13:20:01Z

children.jef-store-checkout-draft-items\[0\].updated

2026-06-29T13:20:01Z

children.jef-store-checkout-draft-items\[0\].idempotency\_key

value-001

children.jef-store-checkout-draft-items\[0\].schema\_version

1

children.jef-store-checkout-draft-items\[0\].version

1

Payload Schema

{
  "type": "object",
  "additionalProperties": "False",
  "payload_mode": "parent-plus-children-wrapper",
  "allow_children_wrapper": "True",
  "children_wrapper_field": "children",
  "allow_batch": "False",
  "table": "jef-store-checkout-drafts",
  "primary_key": "checkout_draft_id",
  "required[0]": "cart_id",
  "required[1]": "entity_number",
  "required[2]": "employee_number",
  "required[3]": "customer_number",
  "required[4]": "customer_name",
  "required[5]": "phone",
  "required[6]": "email",
  "required[7]": "delivery_mode",
  "required[8]": "payment_method",
  "required[9]": "receipt_mode",
  "required[10]": "branch_pickup_name",
  "required[11]": "full_address",
  "required[12]": "delivery_instructions",
  "required[13]": "internal_note",
  "required[14]": "call_before_delivery",
  "required[15]": "subtotal",
  "required[16]": "shipping_fee",
  "required[17]": "discount",
  "required[18]": "grand_total",
  "required[19]": "draft_status",
  "required[20]": "is_deleted",
  "required[21]": "deleted_at",
  "required[22]": "idempotency_key",
  "required[23]": "schema_version",
  "required[24]": "version",
  "properties.checkout_draft_id.field": "checkout_draft_id",
  "properties.checkout_draft_id.type": "S",
  "properties.checkout_draft_id.required": "False",
  "properties.checkout_draft_id.source_required": "True",
  "properties.checkout_draft_id.server_generated": "True",
  "properties.checkout_draft_id.autogenerated": "False",
  "properties.checkout_draft_id.frontend_autocomputed": "False",
  "properties.checkout_draft_id.format": "uuidv4",
  "properties.checkout_draft_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}$",
  "properties.cart_id.field": "cart_id",
  "properties.cart_id.type": "S",
  "properties.cart_id.required": "True",
  "properties.cart_id.source_required": "True",
  "properties.cart_id.server_generated": "True",
  "properties.cart_id.autogenerated": "False",
  "properties.cart_id.frontend_autocomputed": "False",
  "properties.cart_id.format": "uuidv4",
  "properties.cart_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}$",
  "properties.entity_number.field": "entity_number",
  "properties.entity_number.type": "S",
  "properties.entity_number.required": "True",
  "properties.entity_number.source_required": "True",
  "properties.entity_number.server_generated": "True",
  "properties.entity_number.autogenerated": "False",
  "properties.entity_number.frontend_autocomputed": "False",
  "properties.entity_number.format": "uuidv4",
  "properties.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}$",
  "properties.employee_number.field": "employee_number",
  "properties.employee_number.type": "S",
  "properties.employee_number.required": "True",
  "properties.employee_number.source_required": "True",
  "properties.employee_number.server_generated": "True",
  "properties.employee_number.autogenerated": "False",
  "properties.employee_number.frontend_autocomputed": "False",
  "properties.employee_number.format": "uuidv4",
  "properties.employee_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}$",
  "properties.customer_number.field": "customer_number",
  "properties.customer_number.type": "S",
  "properties.customer_number.required": "True",
  "properties.customer_number.source_required": "True",
  "properties.customer_number.server_generated": "True",
  "properties.customer_number.autogenerated": "False",
  "properties.customer_number.frontend_autocomputed": "False",
  "properties.customer_number.format": "uuidv4",
  "properties.customer_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}$",
  "properties.customer_name.field": "customer_name",
  "properties.customer_name.type": "S",
  "properties.customer_name.required": "True",
  "properties.customer_name.source_required": "True",
  "properties.customer_name.server_generated": "False",
  "properties.customer_name.autogenerated": "False",
  "properties.customer_name.frontend_autocomputed": "False",
  "properties.customer_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "properties.phone.field": "phone",
  "properties.phone.type": "S",
  "properties.phone.required": "True",
  "properties.phone.source_required": "True",
  "properties.phone.server_generated": "False",
  "properties.phone.autogenerated": "False",
  "properties.phone.frontend_autocomputed": "False",
  "properties.phone.regex": "^[0-9+() .-]{0,30}$",
  "properties.email.field": "email",
  "properties.email.type": "S",
  "properties.email.required": "True",
  "properties.email.source_required": "True",
  "properties.email.server_generated": "False",
  "properties.email.autogenerated": "False",
  "properties.email.frontend_autocomputed": "False",
  "properties.email.regex": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
  "properties.delivery_mode.field": "delivery_mode",
  "properties.delivery_mode.type": "S",
  "properties.delivery_mode.required": "True",
  "properties.delivery_mode.source_required": "True",
  "properties.delivery_mode.server_generated": "False",
  "properties.delivery_mode.autogenerated": "False",
  "properties.delivery_mode.frontend_autocomputed": "False",
  "properties.delivery_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.payment_method.field": "payment_method",
  "properties.payment_method.type": "S",
  "properties.payment_method.required": "True",
  "properties.payment_method.source_required": "True",
  "properties.payment_method.server_generated": "False",
  "properties.payment_method.autogenerated": "False",
  "properties.payment_method.frontend_autocomputed": "False",
  "properties.payment_method.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.receipt_mode.field": "receipt_mode",
  "properties.receipt_mode.type": "S",
  "properties.receipt_mode.required": "True",
  "properties.receipt_mode.source_required": "True",
  "properties.receipt_mode.server_generated": "False",
  "properties.receipt_mode.autogenerated": "False",
  "properties.receipt_mode.frontend_autocomputed": "False",
  "properties.receipt_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.branch_pickup_name.field": "branch_pickup_name",
  "properties.branch_pickup_name.type": "S",
  "properties.branch_pickup_name.required": "True",
  "properties.branch_pickup_name.source_required": "True",
  "properties.branch_pickup_name.server_generated": "False",
  "properties.branch_pickup_name.autogenerated": "False",
  "properties.branch_pickup_name.frontend_autocomputed": "False",
  "properties.branch_pickup_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "properties.full_address.field": "full_address",
  "properties.full_address.type": "S",
  "properties.full_address.required": "True",
  "properties.full_address.source_required": "True",
  "properties.full_address.server_generated": "False",
  "properties.full_address.autogenerated": "False",
  "properties.full_address.frontend_autocomputed": "False",
  "properties.full_address.regex": "^.{0,500}$",
  "properties.delivery_instructions.field": "delivery_instructions",
  "properties.delivery_instructions.type": "S",
  "properties.delivery_instructions.required": "True",
  "properties.delivery_instructions.source_required": "True",
  "properties.delivery_instructions.server_generated": "False",
  "properties.delivery_instructions.autogenerated": "False",
  "properties.delivery_instructions.frontend_autocomputed": "False",
  "properties.delivery_instructions.regex": "^.{0,500}$",
  "properties.internal_note.field": "internal_note",
  "properties.internal_note.type": "S",
  "properties.internal_note.required": "True",
  "properties.internal_note.source_required": "True",
  "properties.internal_note.server_generated": "False",
  "properties.internal_note.autogenerated": "False",
  "properties.internal_note.frontend_autocomputed": "False",
  "properties.internal_note.regex": "^.{0,500}$",
  "properties.call_before_delivery.field": "call_before_delivery",
  "properties.call_before_delivery.type": "BOOL",
  "properties.call_before_delivery.required": "True",
  "properties.call_before_delivery.source_required": "True",
  "properties.call_before_delivery.server_generated": "False",
  "properties.call_before_delivery.autogenerated": "False",
  "properties.call_before_delivery.frontend_autocomputed": "False",
  "properties.call_before_delivery.regex": "^(true|false)$",
  "properties.subtotal.field": "subtotal",
  "properties.subtotal.type": "N",
  "properties.subtotal.required": "True",
  "properties.subtotal.source_required": "True",
  "properties.subtotal.server_generated": "False",
  "properties.subtotal.autogenerated": "False",
  "properties.subtotal.frontend_autocomputed": "False",
  "properties.subtotal.regex": "^-?\\d+(\\.\\d+)?$",
  "properties.shipping_fee.field": "shipping_fee",
  "properties.shipping_fee.type": "N",
  "properties.shipping_fee.required": "True",
  "properties.shipping_fee.source_required": "True",
  "properties.shipping_fee.server_generated": "False",
  "properties.shipping_fee.autogenerated": "False",
  "properties.shipping_fee.frontend_autocomputed": "False",
  "properties.shipping_fee.regex": "^-?\\d+(\\.\\d+)?$",
  "properties.discount.field": "discount",
  "properties.discount.type": "N",
  "properties.discount.required": "True",
  "properties.discount.source_required": "True",
  "properties.discount.server_generated": "False",
  "properties.discount.autogenerated": "False",
  "properties.discount.frontend_autocomputed": "False",
  "properties.discount.regex": "^-?\\d+(\\.\\d+)?$",
  "properties.grand_total.field": "grand_total",
  "properties.grand_total.type": "N",
  "properties.grand_total.required": "True",
  "properties.grand_total.source_required": "True",
  "properties.grand_total.server_generated": "False",
  "properties.grand_total.autogenerated": "False",
  "properties.grand_total.frontend_autocomputed": "False",
  "properties.grand_total.regex": "^-?\\d+(\\.\\d+)?$",
  "properties.draft_status.field": "draft_status",
  "properties.draft_status.type": "S",
  "properties.draft_status.required": "True",
  "properties.draft_status.source_required": "True",
  "properties.draft_status.server_generated": "False",
  "properties.draft_status.autogenerated": "False",
  "properties.draft_status.frontend_autocomputed": "False",
  "properties.draft_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "properties.is_active.field": "is_active",
  "properties.is_active.type": "BOOL",
  "properties.is_active.required": "False",
  "properties.is_active.source_required": "True",
  "properties.is_active.server_generated": "True",
  "properties.is_active.autogenerated": "False",
  "properties.is_active.frontend_autocomputed": "False",
  "properties.is_active.regex": "^(true|false)$",
  "properties.is_deleted.field": "is_deleted",
  "properties.is_deleted.type": "BOOL",
  "properties.is_deleted.required": "True",
  "properties.is_deleted.source_required": "True",
  "properties.is_deleted.server_generated": "True",
  "properties.is_deleted.autogenerated": "False",
  "properties.is_deleted.frontend_autocomputed": "False",
  "properties.is_deleted.regex": "^(true|false)$",
  "properties.deleted_at.field": "deleted_at",
  "properties.deleted_at.type": "S",
  "properties.deleted_at.required": "True",
  "properties.deleted_at.source_required": "True",
  "properties.deleted_at.server_generated": "True",
  "properties.deleted_at.autogenerated": "False",
  "properties.deleted_at.frontend_autocomputed": "False",
  "properties.deleted_at.format": "iso8601",
  "properties.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "properties.created.field": "created",
  "properties.created.type": "S",
  "properties.created.required": "False",
  "properties.created.source_required": "True",
  "properties.created.server_generated": "True",
  "properties.created.autogenerated": "False",
  "properties.created.frontend_autocomputed": "False",
  "properties.created.format": "iso8601",
  "properties.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "properties.updated.field": "updated",
  "properties.updated.type": "S",
  "properties.updated.required": "False",
  "properties.updated.source_required": "True",
  "properties.updated.server_generated": "True",
  "properties.updated.autogenerated": "False",
  "properties.updated.frontend_autocomputed": "False",
  "properties.updated.format": "iso8601",
  "properties.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "properties.idempotency_key.field": "idempotency_key",
  "properties.idempotency_key.type": "S",
  "properties.idempotency_key.required": "True",
  "properties.idempotency_key.source_required": "True",
  "properties.idempotency_key.server_generated": "True",
  "properties.idempotency_key.autogenerated": "False",
  "properties.idempotency_key.frontend_autocomputed": "False",
  "properties.idempotency_key.regex": "^.{1,300}$",
  "properties.schema_version.field": "schema_version",
  "properties.schema_version.type": "N",
  "properties.schema_version.required": "True",
  "properties.schema_version.source_required": "True",
  "properties.schema_version.server_generated": "False",
  "properties.schema_version.autogenerated": "False",
  "properties.schema_version.frontend_autocomputed": "False",
  "properties.schema_version.regex": "^\\d+$",
  "properties.version.field": "version",
  "properties.version.type": "N",
  "properties.version.required": "True",
  "properties.version.source_required": "True",
  "properties.version.server_generated": "False",
  "properties.version.autogenerated": "False",
  "properties.version.frontend_autocomputed": "False",
  "properties.version.regex": "^\\d+$",
  "children[0].parent_table": "jef-store-checkout-drafts",
  "children[0].child_table": "jef-store-checkout-draft-items",
  "children[0].parent_key": "checkout_draft_id",
  "children[0].child_foreign_key": "checkout_draft_id",
  "children[0].child_index_name": "gsi_1",
  "children[0].child_index_key": "gsi_1_pk",
  "children[0].aliases[0]": "jef-store-checkout-draft-items",
  "children[0].aliases[1]": "checkout-draft-items",
  "children[0].aliases[2]": "store-checkout-draft-items",
  "children[0].aliases[3]": "jef_store_checkout_draft_items",
  "children[0].aliases[4]": "checkout_draft_items",
  "children[0].aliases[5]": "store_checkout_draft_items",
  "children[0].aliases[6]": "items",
  "root.type": "object",
  "root.attributes.checkout_draft_id.field": "checkout_draft_id",
  "root.attributes.checkout_draft_id.type": "S",
  "root.attributes.checkout_draft_id.required": "False",
  "root.attributes.checkout_draft_id.source_required": "True",
  "root.attributes.checkout_draft_id.server_generated": "True",
  "root.attributes.checkout_draft_id.autogenerated": "False",
  "root.attributes.checkout_draft_id.frontend_autocomputed": "False",
  "root.attributes.checkout_draft_id.format": "uuidv4",
  "root.attributes.checkout_draft_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.cart_id.field": "cart_id",
  "root.attributes.cart_id.type": "S",
  "root.attributes.cart_id.required": "True",
  "root.attributes.cart_id.source_required": "True",
  "root.attributes.cart_id.server_generated": "True",
  "root.attributes.cart_id.autogenerated": "False",
  "root.attributes.cart_id.frontend_autocomputed": "False",
  "root.attributes.cart_id.format": "uuidv4",
  "root.attributes.cart_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.entity_number.field": "entity_number",
  "root.attributes.entity_number.type": "S",
  "root.attributes.entity_number.required": "True",
  "root.attributes.entity_number.source_required": "True",
  "root.attributes.entity_number.server_generated": "True",
  "root.attributes.entity_number.autogenerated": "False",
  "root.attributes.entity_number.frontend_autocomputed": "False",
  "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.employee_number.field": "employee_number",
  "root.attributes.employee_number.type": "S",
  "root.attributes.employee_number.required": "True",
  "root.attributes.employee_number.source_required": "True",
  "root.attributes.employee_number.server_generated": "True",
  "root.attributes.employee_number.autogenerated": "False",
  "root.attributes.employee_number.frontend_autocomputed": "False",
  "root.attributes.employee_number.format": "uuidv4",
  "root.attributes.employee_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.customer_number.field": "customer_number",
  "root.attributes.customer_number.type": "S",
  "root.attributes.customer_number.required": "True",
  "root.attributes.customer_number.source_required": "True",
  "root.attributes.customer_number.server_generated": "True",
  "root.attributes.customer_number.autogenerated": "False",
  "root.attributes.customer_number.frontend_autocomputed": "False",
  "root.attributes.customer_number.format": "uuidv4",
  "root.attributes.customer_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.customer_name.field": "customer_name",
  "root.attributes.customer_name.type": "S",
  "root.attributes.customer_name.required": "True",
  "root.attributes.customer_name.source_required": "True",
  "root.attributes.customer_name.server_generated": "False",
  "root.attributes.customer_name.autogenerated": "False",
  "root.attributes.customer_name.frontend_autocomputed": "False",
  "root.attributes.customer_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "root.attributes.phone.field": "phone",
  "root.attributes.phone.type": "S",
  "root.attributes.phone.required": "True",
  "root.attributes.phone.source_required": "True",
  "root.attributes.phone.server_generated": "False",
  "root.attributes.phone.autogenerated": "False",
  "root.attributes.phone.frontend_autocomputed": "False",
  "root.attributes.phone.regex": "^[0-9+() .-]{0,30}$",
  "root.attributes.email.field": "email",
  "root.attributes.email.type": "S",
  "root.attributes.email.required": "True",
  "root.attributes.email.source_required": "True",
  "root.attributes.email.server_generated": "False",
  "root.attributes.email.autogenerated": "False",
  "root.attributes.email.frontend_autocomputed": "False",
  "root.attributes.email.regex": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
  "root.attributes.delivery_mode.field": "delivery_mode",
  "root.attributes.delivery_mode.type": "S",
  "root.attributes.delivery_mode.required": "True",
  "root.attributes.delivery_mode.source_required": "True",
  "root.attributes.delivery_mode.server_generated": "False",
  "root.attributes.delivery_mode.autogenerated": "False",
  "root.attributes.delivery_mode.frontend_autocomputed": "False",
  "root.attributes.delivery_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.payment_method.field": "payment_method",
  "root.attributes.payment_method.type": "S",
  "root.attributes.payment_method.required": "True",
  "root.attributes.payment_method.source_required": "True",
  "root.attributes.payment_method.server_generated": "False",
  "root.attributes.payment_method.autogenerated": "False",
  "root.attributes.payment_method.frontend_autocomputed": "False",
  "root.attributes.payment_method.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.receipt_mode.field": "receipt_mode",
  "root.attributes.receipt_mode.type": "S",
  "root.attributes.receipt_mode.required": "True",
  "root.attributes.receipt_mode.source_required": "True",
  "root.attributes.receipt_mode.server_generated": "False",
  "root.attributes.receipt_mode.autogenerated": "False",
  "root.attributes.receipt_mode.frontend_autocomputed": "False",
  "root.attributes.receipt_mode.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.branch_pickup_name.field": "branch_pickup_name",
  "root.attributes.branch_pickup_name.type": "S",
  "root.attributes.branch_pickup_name.required": "True",
  "root.attributes.branch_pickup_name.source_required": "True",
  "root.attributes.branch_pickup_name.server_generated": "False",
  "root.attributes.branch_pickup_name.autogenerated": "False",
  "root.attributes.branch_pickup_name.frontend_autocomputed": "False",
  "root.attributes.branch_pickup_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "root.attributes.full_address.field": "full_address",
  "root.attributes.full_address.type": "S",
  "root.attributes.full_address.required": "True",
  "root.attributes.full_address.source_required": "True",
  "root.attributes.full_address.server_generated": "False",
  "root.attributes.full_address.autogenerated": "False",
  "root.attributes.full_address.frontend_autocomputed": "False",
  "root.attributes.full_address.regex": "^.{0,500}$",
  "root.attributes.delivery_instructions.field": "delivery_instructions",
  "root.attributes.delivery_instructions.type": "S",
  "root.attributes.delivery_instructions.required": "True",
  "root.attributes.delivery_instructions.source_required": "True",
  "root.attributes.delivery_instructions.server_generated": "False",
  "root.attributes.delivery_instructions.autogenerated": "False",
  "root.attributes.delivery_instructions.frontend_autocomputed": "False",
  "root.attributes.delivery_instructions.regex": "^.{0,500}$",
  "root.attributes.internal_note.field": "internal_note",
  "root.attributes.internal_note.type": "S",
  "root.attributes.internal_note.required": "True",
  "root.attributes.internal_note.source_required": "True",
  "root.attributes.internal_note.server_generated": "False",
  "root.attributes.internal_note.autogenerated": "False",
  "root.attributes.internal_note.frontend_autocomputed": "False",
  "root.attributes.internal_note.regex": "^.{0,500}$",
  "root.attributes.call_before_delivery.field": "call_before_delivery",
  "root.attributes.call_before_delivery.type": "BOOL",
  "root.attributes.call_before_delivery.required": "True",
  "root.attributes.call_before_delivery.source_required": "True",
  "root.attributes.call_before_delivery.server_generated": "False",
  "root.attributes.call_before_delivery.autogenerated": "False",
  "root.attributes.call_before_delivery.frontend_autocomputed": "False",
  "root.attributes.call_before_delivery.regex": "^(true|false)$",
  "root.attributes.subtotal.field": "subtotal",
  "root.attributes.subtotal.type": "N",
  "root.attributes.subtotal.required": "True",
  "root.attributes.subtotal.source_required": "True",
  "root.attributes.subtotal.server_generated": "False",
  "root.attributes.subtotal.autogenerated": "False",
  "root.attributes.subtotal.frontend_autocomputed": "False",
  "root.attributes.subtotal.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.shipping_fee.field": "shipping_fee",
  "root.attributes.shipping_fee.type": "N",
  "root.attributes.shipping_fee.required": "True",
  "root.attributes.shipping_fee.source_required": "True",
  "root.attributes.shipping_fee.server_generated": "False",
  "root.attributes.shipping_fee.autogenerated": "False",
  "root.attributes.shipping_fee.frontend_autocomputed": "False",
  "root.attributes.shipping_fee.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.discount.field": "discount",
  "root.attributes.discount.type": "N",
  "root.attributes.discount.required": "True",
  "root.attributes.discount.source_required": "True",
  "root.attributes.discount.server_generated": "False",
  "root.attributes.discount.autogenerated": "False",
  "root.attributes.discount.frontend_autocomputed": "False",
  "root.attributes.discount.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.grand_total.field": "grand_total",
  "root.attributes.grand_total.type": "N",
  "root.attributes.grand_total.required": "True",
  "root.attributes.grand_total.source_required": "True",
  "root.attributes.grand_total.server_generated": "False",
  "root.attributes.grand_total.autogenerated": "False",
  "root.attributes.grand_total.frontend_autocomputed": "False",
  "root.attributes.grand_total.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.draft_status.field": "draft_status",
  "root.attributes.draft_status.type": "S",
  "root.attributes.draft_status.required": "True",
  "root.attributes.draft_status.source_required": "True",
  "root.attributes.draft_status.server_generated": "False",
  "root.attributes.draft_status.autogenerated": "False",
  "root.attributes.draft_status.frontend_autocomputed": "False",
  "root.attributes.draft_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.is_active.field": "is_active",
  "root.attributes.is_active.type": "BOOL",
  "root.attributes.is_active.required": "False",
  "root.attributes.is_active.source_required": "True",
  "root.attributes.is_active.server_generated": "True",
  "root.attributes.is_active.autogenerated": "False",
  "root.attributes.is_active.frontend_autocomputed": "False",
  "root.attributes.is_active.regex": "^(true|false)$",
  "root.attributes.is_deleted.field": "is_deleted",
  "root.attributes.is_deleted.type": "BOOL",
  "root.attributes.is_deleted.required": "True",
  "root.attributes.is_deleted.source_required": "True",
  "root.attributes.is_deleted.server_generated": "True",
  "root.attributes.is_deleted.autogenerated": "False",
  "root.attributes.is_deleted.frontend_autocomputed": "False",
  "root.attributes.is_deleted.regex": "^(true|false)$",
  "root.attributes.deleted_at.field": "deleted_at",
  "root.attributes.deleted_at.type": "S",
  "root.attributes.deleted_at.required": "True",
  "root.attributes.deleted_at.source_required": "True",
  "root.attributes.deleted_at.server_generated": "True",
  "root.attributes.deleted_at.autogenerated": "False",
  "root.attributes.deleted_at.frontend_autocomputed": "False",
  "root.attributes.deleted_at.format": "iso8601",
  "root.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "root.attributes.created.field": "created",
  "root.attributes.created.type": "S",
  "root.attributes.created.required": "False",
  "root.attributes.created.source_required": "True",
  "root.attributes.created.server_generated": "True",
  "root.attributes.created.autogenerated": "False",
  "root.attributes.created.frontend_autocomputed": "False",
  "root.attributes.created.format": "iso8601",
  "root.attributes.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "root.attributes.updated.field": "updated",
  "root.attributes.updated.type": "S",
  "root.attributes.updated.required": "False",
  "root.attributes.updated.source_required": "True",
  "root.attributes.updated.server_generated": "True",
  "root.attributes.updated.autogenerated": "False",
  "root.attributes.updated.frontend_autocomputed": "False",
  "root.attributes.updated.format": "iso8601",
  "root.attributes.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
  "root.attributes.idempotency_key.field": "idempotency_key",
  "root.attributes.idempotency_key.type": "S",
  "root.attributes.idempotency_key.required": "True",
  "root.attributes.idempotency_key.source_required": "True",
  "root.attributes.idempotency_key.server_generated": "True",
  "root.attributes.idempotency_key.autogenerated": "False",
  "root.attributes.idempotency_key.frontend_autocomputed": "False",
  "root.attributes.idempotency_key.regex": "^.{1,300}$",
  "root.attributes.schema_version.field": "schema_version",
  "root.attributes.schema_version.type": "N",
  "root.attributes.schema_version.required": "True",
  "root.attributes.schema_version.source_required": "True",
  "root.attributes.schema_version.server_generated": "False",
  "root.attributes.schema_version.autogenerated": "False",
  "root.attributes.schema_version.frontend_autocomputed": "False",
  "root.attributes.schema_version.regex": "^\\d+$",
  "root.attributes.version.field": "version",
  "root.attributes.version.type": "N",
  "root.attributes.version.required": "True",
  "root.attributes.version.source_required": "True",
  "root.attributes.version.server_generated": "False",
  "root.attributes.version.autogenerated": "False",
  "root.attributes.version.frontend_autocomputed": "False",
  "root.attributes.version.regex": "^\\d+$"
}

Response Schema

{
  "type": "object",
  "properties.ok.type": "boolean",
  "properties.accepted.type": "boolean",
  "properties.is_committed.type": "boolean",
  "properties.request_id.type": "string",
  "properties.message.type": "string",
  "properties.table.type": "string",
  "properties.operation.type": "string",
  "properties.primary_key.type": "string",
  "properties.primary_key_value.type": "string",
  "properties.item_write_count.type": "number",
  "properties.child_write_count.type": "number"
}

Request Payload

{
  "checkout_draft_id": "74472bec-ddb4-4380-812c-1b8678f15bd9",
  "cart_id": "d429f1ec-7cd3-4bca-968f-c32b05f78682",
  "entity_number": "01c6a13b-b433-4d9a-9ea9-7c0f08991cd2",
  "employee_number": "38cc5d12-8142-45aa-8562-a273d87d4214",
  "customer_number": "91596400-d3fe-46bf-89b5-05d3ec1de673",
  "customer_name": "Sample Name",
  "phone": "value-001",
  "email": "value-001",
  "delivery_mode": "value-001",
  "payment_method": "value-001",
  "receipt_mode": "value-001",
  "branch_pickup_name": "Sample Name",
  "full_address": "value-001",
  "delivery_instructions": "value-001",
  "internal_note": "value-001",
  "call_before_delivery": "True",
  "subtotal": "1",
  "shipping_fee": "1",
  "discount": "1",
  "grand_total": "1",
  "draft_status": "value-001",
  "is_active": "True",
  "is_deleted": "True",
  "deleted_at": "2026-06-29T13:20:01Z",
  "created": "2026-06-29T13:20:01Z",
  "updated": "2026-06-29T13:20:01Z",
  "idempotency_key": "value-001",
  "schema_version": "1",
  "version": "1",
  "children.jef-store-checkout-draft-items[0].checkout_draft_item_id": "b63cafee-de38-4a34-8ff4-7336b32254d9",
  "children.jef-store-checkout-draft-items[0].checkout_draft_id": "74472bec-ddb4-4380-812c-1b8678f15bd9",
  "children.jef-store-checkout-draft-items[0].entity_number": "10d58b84-7a6f-4168-b4e4-e76dbc011126",
  "children.jef-store-checkout-draft-items[0].line_number": "1",
  "children.jef-store-checkout-draft-items[0].product_number": "dccad027-caa3-4578-af2f-61d045c55e80",
  "children.jef-store-checkout-draft-items[0].sku": "value-001",
  "children.jef-store-checkout-draft-items[0].product_name": "Sample Name",
  "children.jef-store-checkout-draft-items[0].quantity": "1",
  "children.jef-store-checkout-draft-items[0].unit_price": "1",
  "children.jef-store-checkout-draft-items[0].line_total": "1",
  "children.jef-store-checkout-draft-items[0].is_active": "True",
  "children.jef-store-checkout-draft-items[0].is_deleted": "True",
  "children.jef-store-checkout-draft-items[0].deleted_at": "2026-06-29T13:20:01Z",
  "children.jef-store-checkout-draft-items[0].created": "2026-06-29T13:20:01Z",
  "children.jef-store-checkout-draft-items[0].updated": "2026-06-29T13:20:01Z",
  "children.jef-store-checkout-draft-items[0].idempotency_key": "value-001",
  "children.jef-store-checkout-draft-items[0].schema_version": "1",
  "children.jef-store-checkout-draft-items[0].version": "1"
}

Response

{
  "type": "object",
  "properties.ok.type": "boolean",
  "properties.accepted.type": "boolean",
  "properties.is_committed.type": "boolean",
  "properties.request_id.type": "string",
  "properties.message.type": "string",
  "properties.table.type": "string",
  "properties.operation.type": "string",
  "properties.primary_key.type": "string",
  "properties.primary_key_value.type": "string",
  "properties.item_write_count.type": "number",
  "properties.child_write_count.type": "number"
}

CMD curl

curl -X POST "https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-checkout-drafts-post-one" -H "Content-Type: application/json" --data-raw "{\"checkout_draft_id\": \"74472bec-ddb4-4380-812c-1b8678f15bd9\", \"cart_id\": \"d429f1ec-7cd3-4bca-968f-c32b05f78682\", \"entity_number\": \"01c6a13b-b433-4d9a-9ea9-7c0f08991cd2\", \"employee_number\": \"38cc5d12-8142-45aa-8562-a273d87d4214\", \"customer_number\": \"91596400-d3fe-46bf-89b5-05d3ec1de673\", \"customer_name\": \"Sample Name\", \"phone\": \"value-001\", \"email\": \"value-001\", \"delivery_mode\": \"value-001\", \"payment_method\": \"value-001\", \"receipt_mode\": \"value-001\", \"branch_pickup_name\": \"Sample Name\", \"full_address\": \"value-001\", \"delivery_instructions\": \"value-001\", \"internal_note\": \"value-001\", \"call_before_delivery\": true, \"subtotal\": 1, \"shipping_fee\": 1, \"discount\": 1, \"grand_total\": 1, \"draft_status\": \"value-001\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-06-29T13:20:01Z\", \"created\": \"2026-06-29T13:20:01Z\", \"updated\": \"2026-06-29T13:20:01Z\", \"idempotency_key\": \"value-001\", \"schema_version\": 1, \"version\": 1, \"children\": {\"jef-store-checkout-draft-items\": [{\"checkout_draft_item_id\": \"b63cafee-de38-4a34-8ff4-7336b32254d9\", \"checkout_draft_id\": \"74472bec-ddb4-4380-812c-1b8678f15bd9\", \"entity_number\": \"10d58b84-7a6f-4168-b4e4-e76dbc011126\", \"line_number\": 1, \"product_number\": \"dccad027-caa3-4578-af2f-61d045c55e80\", \"sku\": \"value-001\", \"product_name\": \"Sample Name\", \"quantity\": 1, \"unit_price\": 1, \"line_total\": 1, \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-06-29T13:20:01Z\", \"created\": \"2026-06-29T13:20:01Z\", \"updated\": \"2026-06-29T13:20:01Z\", \"idempotency_key\": \"value-001\", \"schema_version\": 1, \"version\": 1}]}}"

PowerShell curl

curl.exe -X POST "https://dqo3268ty9.execute-api.ap-southeast-1.amazonaws.com/prod/store-checkout-drafts-post-one" -H "Content-Type: application/json" --data-raw '{"checkout_draft_id": "74472bec-ddb4-4380-812c-1b8678f15bd9", "cart_id": "d429f1ec-7cd3-4bca-968f-c32b05f78682", "entity_number": "01c6a13b-b433-4d9a-9ea9-7c0f08991cd2", "employee_number": "38cc5d12-8142-45aa-8562-a273d87d4214", "customer_number": "91596400-d3fe-46bf-89b5-05d3ec1de673", "customer_name": "Sample Name", "phone": "value-001", "email": "value-001", "delivery_mode": "value-001", "payment_method": "value-001", "receipt_mode": "value-001", "branch_pickup_name": "Sample Name", "full_address": "value-001", "delivery_instructions": "value-001", "internal_note": "value-001", "call_before_delivery": true, "subtotal": 1, "shipping_fee": 1, "discount": 1, "grand_total": 1, "draft_status": "value-001", "is_active": true, "is_deleted": true, "deleted_at": "2026-06-29T13:20:01Z", "created": "2026-06-29T13:20:01Z", "updated": "2026-06-29T13:20:01Z", "idempotency_key": "value-001", "schema_version": 1, "version": 1, "children": {"jef-store-checkout-draft-items": [{"checkout_draft_item_id": "b63cafee-de38-4a34-8ff4-7336b32254d9", "checkout_draft_id": "74472bec-ddb4-4380-812c-1b8678f15bd9", "entity_number": "10d58b84-7a6f-4168-b4e4-e76dbc011126", "line_number": 1, "product_number": "dccad027-caa3-4578-af2f-61d045c55e80", "sku": "value-001", "product_name": "Sample Name", "quantity": 1, "unit_price": 1, "line_total": 1, "is_active": true, "is_deleted": true, "deleted_at": "2026-06-29T13:20:01Z", "created": "2026-06-29T13:20:01Z", "updated": "2026-06-29T13:20:01Z", "idempotency_key": "value-001", "schema_version": 1, "version": 1}]}}'