WooCommerce · Example Payload

Woocommerce Order Example

eCommerceOpen SourceOrdersProductsWordPress

Woocommerce Order Example is an example object payload from WooCommerce, with 39 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idparent_idnumberorder_keycreated_viaversionstatuscurrencydate_createddate_created_gmtdate_modifieddate_modified_gmtdate_completeddate_paiddiscount_totaldiscount_taxshipping_totalshipping_taxcart_taxtotaltotal_taxprices_include_taxcustomer_idcustomer_ip_addresscustomer_user_agentcustomer_notebillingshippingpayment_methodpayment_method_titletransaction_idpayment_urlline_itemstax_linesshipping_linesfee_linescoupon_linesrefundsmeta_data

Example Payload

Raw ↑
{
  "id": 813,
  "parent_id": 137,
  "number": "string-value",
  "order_key": "string-value",
  "created_via": "string-value",
  "version": "string-value",
  "status": "pending",
  "currency": "string-value",
  "date_created": "2026-05-03T14:30:00Z",
  "date_created_gmt": "2026-05-03T14:30:00Z",
  "date_modified": "2026-05-03T14:30:00Z",
  "date_modified_gmt": "2026-05-03T14:30:00Z",
  "date_completed": "2026-05-03T14:30:00Z",
  "date_paid": "2026-05-03T14:30:00Z",
  "discount_total": "string-value",
  "discount_tax": "string-value",
  "shipping_total": "string-value",
  "shipping_tax": "string-value",
  "cart_tax": "string-value",
  "total": "string-value",
  "total_tax": "string-value",
  "prices_include_tax": false,
  "customer_id": 671,
  "customer_ip_address": "string-value",
  "customer_user_agent": "string-value",
  "customer_note": "string-value",
  "billing": {},
  "shipping": {},
  "payment_method": "string-value",
  "payment_method_title": "Example Name",
  "transaction_id": "500123",
  "payment_url": "https://example.com/path",
  "line_items": [
    "string-value"
  ],
  "tax_lines": [
    "string-value"
  ],
  "shipping_lines": [
    "string-value"
  ],
  "fee_lines": [
    "string-value"
  ],
  "coupon_lines": [
    "string-value"
  ],
  "refunds": [
    "string-value"
  ],
  "meta_data": [
    "string-value"
  ]
}