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
idstringrequiredUnique order identifier with ord_ prefixcustomerIdstringrequiredReference to the user who placed the orderstatusstringrequiredOrder lifecycle state: pending, processing, shipped, delivered, cancelledlineItemsarray<object>requiredList of products ordered, each with quantity and pricinggrandTotalnumberrequiredFinal amount charged after tax, shipping, and discountsshippingAddressobjectrequiredDelivery address including recipient name and phonepaymentobjectrequiredPayment method, status, and transaction referencecurrencystringrequiredISO 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
Paste the example above into JSONKit's tools to validate, minify, or explore the structure interactively.
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.