WooCommerce · Example Payload

Woocommerce Rest Api Sales Report Example

eCommerceOpen SourceOrdersProductsWordPress

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

Top-level fields

total_salesnet_revenueaverage_salestotal_orderstotal_itemstotal_taxtotal_shippingtotal_refundstotal_discounttotals_grouped_bytotals

Example Payload

Raw ↑
{
  "total_sales": "string-value",
  "net_revenue": "string-value",
  "average_sales": "string-value",
  "total_orders": 1,
  "total_items": 1,
  "total_tax": "string-value",
  "total_shipping": "string-value",
  "total_refunds": 10.5,
  "total_discount": 10.5,
  "totals_grouped_by": "string-value",
  "totals": {}
}