E-commerce
E-commerce Order JSON Example
A detailed JSON example for an e-commerce order — covers line items, shipping address, payment status, and totals. Ideal for online store APIs and order management systems. Copy-ready.
Field Reference
idrequiredstringUnique order identifier with ord_ prefixcustomerIdrequiredstringReference to the user who placed the orderstatusrequiredstringOrder lifecycle state: pending, processing, shipped, delivered, cancelledlineItemsrequiredarray<object>List of products ordered, each with quantity and pricinggrandTotalrequirednumberFinal amount charged after tax, shipping, and discountsshippingAddressrequiredobjectDelivery address including recipient name and phonepaymentrequiredobjectPayment method, status, and transaction referencecurrencyrequiredstringISO 4217 currency code (e.g. INR, USD, EUR)Variants
MinimalA single-item order with only essential fields populated.
ExtendedMulti-item order with coupon, tracking info, and fulfilment details.
Common Use Cases
- →Building the order confirmation response for a POST /orders REST endpoint
- →Generating order summary emails and PDF receipts
- →Syncing order data to an ERP or warehouse management system
ordere-commerceshoppingpaymentline items
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Frequently Asked Questions
Related JSON Examples
E-commerceProduct ListingE-commerce product JSON with pricing, variants, images, and inventory fields.E-commercePayment TransactionPayment transaction with amount, method, gateway reference, and refund history.BusinessInvoiceBusiness invoice JSON with line items, GST breakdown, payment terms, and totals.