/store-checkout-drafts-post-one

Summary

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

  • Source SHA: 8aeea2418405bc456b822b328ee67dbf6f3df16c

  • Source run id: 25872696405

  • 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

  • Module: jef-store

  • Action: post-one

  • Method: POST

  • Invocation Mode: ASYNC

  • Resource Path: /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: 14045a50-d0ee-4dc3-89ea-9f79248a24e5

  • cart\_id: 82266cee-33ae-4482-8b39-ccf92da96e16

  • entity\_number: 218ea31f-036f-4b70-a0d6-1207af724d49

  • employee\_number: EMP-1023

  • customer\_number: CUST-004217

  • customer\_name: Marianne Dela Cruz

  • phone: +63 917 204-8891

  • email: marianne.delacruz@gmail.com

  • delivery\_mode: DELIVERY

  • payment\_method: GCASH

  • receipt\_mode: EMAIL

  • branch\_pickup\_name: JEF Store - Aurora Blvd

  • full\_address: Unit 12B, Emerald Heights, Aurora Blvd., Quezon City, 1100

  • delivery\_instructions: Please call upon arrival; unit is inside the gate. Leave with guard if no answer.

  • internal\_note: Checkout draft created by cashier for same-day delivery. Customer confirmed payment via GCash.

  • call\_before\_delivery: True

  • subtotal: 4890

  • shipping\_fee: 150

  • discount: 290

  • grand\_total: 4750

  • draft\_status: READY_FOR_CHECKOUT

  • is\_active: True

  • is\_deleted: False

  • deleted\_at: 1970-01-01T00:00:00Z

  • created\_at: 2026-05-14T16:35:19Z

  • updated\_at: 2026-05-14T16:35:19Z

  • idempotency\_key: idem-jef-store-checkout-drafts-1

  • schema\_version: 1

  • version: 1

  • children.checkout\_draft\_items\[0\].checkout\_draft\_item\_id: 938e0116-045b-4753-bb78-1ddc6cef0aeb

  • children.checkout\_draft\_items\[0\].checkout\_draft\_id: 14045a50-d0ee-4dc3-89ea-9f79248a24e5

  • children.checkout\_draft\_items\[0\].entity\_number: JEF-STORE-A2_014

  • children.checkout\_draft\_items\[0\].line\_number: 1

  • children.checkout\_draft\_items\[0\].product\_number: P-100245-CEB

  • children.checkout\_draft\_items\[0\].sku: CBE-PAK-500G

  • children.checkout\_draft\_items\[0\].product\_name: Cebuana Coffee Beans 500g

  • children.checkout\_draft\_items\[0\].quantity: 2

  • children.checkout\_draft\_items\[0\].unit\_price: 285.5

  • children.checkout\_draft\_items\[0\].line\_total: 571

  • children.checkout\_draft\_items\[0\].is\_active: True

  • children.checkout\_draft\_items\[0\].is\_deleted: False

  • children.checkout\_draft\_items\[0\].deleted\_at: 1970-01-01T00:00:00Z

  • children.checkout\_draft\_items\[0\].created\_at: 2026-05-14T16:36:55Z

  • children.checkout\_draft\_items\[0\].updated\_at: 2026-05-14T16:36:55Z

  • children.checkout\_draft\_items\[0\].idempotency\_key: idem-jef-store-checkout-draft-items-1

  • children.checkout\_draft\_items\[0\].schema\_version: 1

  • children.checkout\_draft\_items\[0\].version: 1

Payload Schema

{
  "root.type": "M",
  "root.required": "True",
  "root.attributes.checkout_draft_id.type": "S",
  "root.attributes.checkout_draft_id.required": "True",
  "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.type": "S",
  "root.attributes.cart_id.required": "True",
  "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.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.employee_number.type": "S",
  "root.attributes.employee_number.required": "True",
  "root.attributes.employee_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "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.phone.type": "S",
  "root.attributes.phone.required": "True",
  "root.attributes.phone.regex": "^[0-9+() .-]{0,30}$",
  "root.attributes.email.type": "S",
  "root.attributes.email.required": "True",
  "root.attributes.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.payment_method.type": "S",
  "root.attributes.payment_method.required": "True",
  "root.attributes.payment_method.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.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.full_address.type": "S",
  "root.attributes.full_address.required": "True",
  "root.attributes.full_address.regex": "^.{0,500}$",
  "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.draft_status.type": "S",
  "root.attributes.draft_status.required": "True",
  "root.attributes.draft_status.regex": "^[A-Za-z0-9_-]{1,64}$",
  "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": "^.{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.checkout_draft_items.type": "L",
  "root.attributes.children.attributes.checkout_draft_items.required": "False",
  "root.attributes.children.attributes.checkout_draft_items.items.type": "M",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.checkout_draft_item_id.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.checkout_draft_item_id.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.checkout_draft_item_id.format": "uuidv4",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.checkout_draft_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.checkout_draft_items.items.attributes.checkout_draft_id.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.checkout_draft_id.required": "False",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.checkout_draft_id.format": "uuidv4",
  "root.attributes.children.attributes.checkout_draft_items.items.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.children.attributes.checkout_draft_items.items.attributes.entity_number.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.entity_number.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.entity_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.line_number.type": "N",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.line_number.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.line_number.regex": "^\\d+$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.product_number.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.product_number.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.product_number.regex": "^[A-Za-z0-9_-]{1,64}$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.sku.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.sku.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.sku.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.product_name.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.product_name.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.product_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.quantity.type": "N",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.quantity.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.quantity.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.unit_price.type": "N",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.unit_price.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.unit_price.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.line_total.type": "N",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.line_total.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.line_total.regex": "^-?\\d+(\\.\\d+)?$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.is_active.type": "BOOL",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.is_active.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.is_active.regex": "^(true|false)$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.is_deleted.type": "BOOL",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.is_deleted.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.is_deleted.regex": "^(true|false)$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.deleted_at.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.deleted_at.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.deleted_at.format": "iso8601",
  "root.attributes.children.attributes.checkout_draft_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.checkout_draft_items.items.attributes.created_at.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.created_at.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.created_at.format": "iso8601",
  "root.attributes.children.attributes.checkout_draft_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.checkout_draft_items.items.attributes.updated_at.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.updated_at.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.updated_at.format": "iso8601",
  "root.attributes.children.attributes.checkout_draft_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.checkout_draft_items.items.attributes.idempotency_key.type": "S",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.idempotency_key.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.idempotency_key.regex": "^.{1,300}$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.schema_version.type": "N",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.schema_version.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.schema_version.regex": "^\\d+$",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.version.type": "N",
  "root.attributes.children.attributes.checkout_draft_items.items.attributes.version.required": "True",
  "root.attributes.children.attributes.checkout_draft_items.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

{
  "checkout_draft_id": "14045a50-d0ee-4dc3-89ea-9f79248a24e5",
  "cart_id": "82266cee-33ae-4482-8b39-ccf92da96e16",
  "entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49",
  "employee_number": "EMP-1023",
  "customer_number": "CUST-004217",
  "customer_name": "Marianne Dela Cruz",
  "phone": "+63 917 204-8891",
  "email": "[email protected]",
  "delivery_mode": "DELIVERY",
  "payment_method": "GCASH",
  "receipt_mode": "EMAIL",
  "branch_pickup_name": "JEF Store - Aurora Blvd",
  "full_address": "Unit 12B, Emerald Heights, Aurora Blvd., Quezon City, 1100",
  "delivery_instructions": "Please call upon arrival; unit is inside the gate. Leave with guard if no answer.",
  "internal_note": "Checkout draft created by cashier for same-day delivery. Customer confirmed payment via GCash.",
  "call_before_delivery": "True",
  "subtotal": "4890",
  "shipping_fee": "150",
  "discount": "290",
  "grand_total": "4750",
  "draft_status": "READY_FOR_CHECKOUT",
  "is_active": "True",
  "is_deleted": "False",
  "deleted_at": "1970-01-01T00:00:00Z",
  "created_at": "2026-05-14T16:35:19Z",
  "updated_at": "2026-05-14T16:35:19Z",
  "idempotency_key": "idem-jef-store-checkout-drafts-1",
  "schema_version": "1",
  "version": "1",
  "children.checkout_draft_items[0].checkout_draft_item_id": "938e0116-045b-4753-bb78-1ddc6cef0aeb",
  "children.checkout_draft_items[0].checkout_draft_id": "14045a50-d0ee-4dc3-89ea-9f79248a24e5",
  "children.checkout_draft_items[0].entity_number": "JEF-STORE-A2_014",
  "children.checkout_draft_items[0].line_number": "1",
  "children.checkout_draft_items[0].product_number": "P-100245-CEB",
  "children.checkout_draft_items[0].sku": "CBE-PAK-500G",
  "children.checkout_draft_items[0].product_name": "Cebuana Coffee Beans 500g",
  "children.checkout_draft_items[0].quantity": "2",
  "children.checkout_draft_items[0].unit_price": "285.5",
  "children.checkout_draft_items[0].line_total": "571",
  "children.checkout_draft_items[0].is_active": "True",
  "children.checkout_draft_items[0].is_deleted": "False",
  "children.checkout_draft_items[0].deleted_at": "1970-01-01T00:00:00Z",
  "children.checkout_draft_items[0].created_at": "2026-05-14T16:36:55Z",
  "children.checkout_draft_items[0].updated_at": "2026-05-14T16:36:55Z",
  "children.checkout_draft_items[0].idempotency_key": "idem-jef-store-checkout-draft-items-1",
  "children.checkout_draft_items[0].schema_version": "1",
  "children.checkout_draft_items[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-checkout-drafts-post-one" -H "Content-Type: application/json" --data-raw "{\"checkout_draft_id\": \"14045a50-d0ee-4dc3-89ea-9f79248a24e5\", \"cart_id\": \"82266cee-33ae-4482-8b39-ccf92da96e16\", \"entity_number\": \"218ea31f-036f-4b70-a0d6-1207af724d49\", \"employee_number\": \"EMP-1023\", \"customer_number\": \"CUST-004217\", \"customer_name\": \"Marianne Dela Cruz\", \"phone\": \"+63 917 204-8891\", \"email\": \"[email protected]\", \"delivery_mode\": \"DELIVERY\", \"payment_method\": \"GCASH\", \"receipt_mode\": \"EMAIL\", \"branch_pickup_name\": \"JEF Store - Aurora Blvd\", \"full_address\": \"Unit 12B, Emerald Heights, Aurora Blvd., Quezon City, 1100\", \"delivery_instructions\": \"Please call upon arrival; unit is inside the gate. Leave with guard if no answer.\", \"internal_note\": \"Checkout draft created by cashier for same-day delivery. Customer confirmed payment via GCash.\", \"call_before_delivery\": true, \"subtotal\": 4890, \"shipping_fee\": 150, \"discount\": 290, \"grand_total\": 4750, \"draft_status\": \"READY_FOR_CHECKOUT\", \"is_active\": true, \"is_deleted\": false, \"deleted_at\": \"1970-01-01T00:00:00Z\", \"created_at\": \"2026-05-14T16:35:19Z\", \"updated_at\": \"2026-05-14T16:35:19Z\", \"idempotency_key\": \"idem-jef-store-checkout-drafts-1\", \"schema_version\": 1, \"version\": 1, \"children\": {\"checkout_draft_items\": [{\"checkout_draft_item_id\": \"938e0116-045b-4753-bb78-1ddc6cef0aeb\", \"checkout_draft_id\": \"14045a50-d0ee-4dc3-89ea-9f79248a24e5\", \"entity_number\": \"JEF-STORE-A2_014\", \"line_number\": 1, \"product_number\": \"P-100245-CEB\", \"sku\": \"CBE-PAK-500G\", \"product_name\": \"Cebuana Coffee Beans 500g\", \"quantity\": 2, \"unit_price\": 285.5, \"line_total\": 571, \"is_active\": true, \"is_deleted\": false, \"deleted_at\": \"1970-01-01T00:00:00Z\", \"created_at\": \"2026-05-14T16:36:55Z\", \"updated_at\": \"2026-05-14T16:36:55Z\", \"idempotency_key\": \"idem-jef-store-checkout-draft-items-1\", \"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": "14045a50-d0ee-4dc3-89ea-9f79248a24e5", "cart_id": "82266cee-33ae-4482-8b39-ccf92da96e16", "entity_number": "218ea31f-036f-4b70-a0d6-1207af724d49", "employee_number": "EMP-1023", "customer_number": "CUST-004217", "customer_name": "Marianne Dela Cruz", "phone": "+63 917 204-8891", "email": "[email protected]", "delivery_mode": "DELIVERY", "payment_method": "GCASH", "receipt_mode": "EMAIL", "branch_pickup_name": "JEF Store - Aurora Blvd", "full_address": "Unit 12B, Emerald Heights, Aurora Blvd., Quezon City, 1100", "delivery_instructions": "Please call upon arrival; unit is inside the gate. Leave with guard if no answer.", "internal_note": "Checkout draft created by cashier for same-day delivery. Customer confirmed payment via GCash.", "call_before_delivery": true, "subtotal": 4890, "shipping_fee": 150, "discount": 290, "grand_total": 4750, "draft_status": "READY_FOR_CHECKOUT", "is_active": true, "is_deleted": false, "deleted_at": "1970-01-01T00:00:00Z", "created_at": "2026-05-14T16:35:19Z", "updated_at": "2026-05-14T16:35:19Z", "idempotency_key": "idem-jef-store-checkout-drafts-1", "schema_version": 1, "version": 1, "children": {"checkout_draft_items": [{"checkout_draft_item_id": "938e0116-045b-4753-bb78-1ddc6cef0aeb", "checkout_draft_id": "14045a50-d0ee-4dc3-89ea-9f79248a24e5", "entity_number": "JEF-STORE-A2_014", "line_number": 1, "product_number": "P-100245-CEB", "sku": "CBE-PAK-500G", "product_name": "Cebuana Coffee Beans 500g", "quantity": 2, "unit_price": 285.5, "line_total": 571, "is_active": true, "is_deleted": false, "deleted_at": "1970-01-01T00:00:00Z", "created_at": "2026-05-14T16:36:55Z", "updated_at": "2026-05-14T16:36:55Z", "idempotency_key": "idem-jef-store-checkout-draft-items-1", "schema_version": 1, "version": 1}]}}'