Sales orders statistics
Aggregated statistics for your sales orders.
Monetary amounts are always expressed in the order's own currency and are never converted. If you request a money metric without restricting or grouping by currency_code, the response is grouped by currency automatically and meta.currency_split is true.
Query parameters
Start of the period, inclusive. A bare date such as 2026-07-01 is expanded to the beginning of that day in the requested time zone.
End of the period, inclusive. A bare date such as 2026-07-31 is expanded to the end of that day in the requested time zone.
Which timestamp the period applies to. Defaults to ordered_at.
IANA time zone used to interpret bare dates and to place time series buckets. Defaults to Europe/Copenhagen.
Adds a time series to the response. Maximum period per interval: hour 7 days, day 366 days, week 732 days, month 732 days.
Comma separated list of at most 2 dimensions. The second dimension is nested inside the first.
Comma separated list of metrics. Defaults to count.
Number of buckets per group level. Some high cardinality dimensions cap this lower.
Bucket ordering. Prefix with - for descending. Accepts key or any metric.
Place a time series inside every group as well as at the top level, answering questions like shipments per carrier per day in one request. Requires both interval and group_by, and is not available when the innermost dimension groups line level documents, which carry no timestamp of their own. Multiplies the number of buckets, so it counts heavily against the request limits.
Zero fill the time series across the whole period. Off by default, so periods with no data are omitted.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Restrict the period to matching records. Accepts a comma separated list.
Response
Successful.
Example response
{
"meta": {
"resource": "shipments",
"date_field": "created_at",
"time_zone": "Europe/Copenhagen",
"interval": "day",
"limit": 25,
"sort": "-count"
},
"series": [
{
"key": "2026-07-01"
}
],
"groups": [
{
"key": "gls",
"label": "GLS",
"series": [
{
"key": "2026-07-01"
}
]
}
]
}Changes
Changed in 2 of the 9 revisions of this API.7
- ○
added the new optional
queryrequest parameteraddress_validation_statenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterassigned_staff_account_idnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterreturning_customernew-optional-request-parameter
- ○
added the new optional
queryrequest parameterservice_point_country_codenew-optional-request-parameter
- ○
added the new optional
queryrequest parametership_to_citynew-optional-request-parameter
- ○
added the new optional
queryrequest parametership_to_zipcodenew-optional-request-parameter
- ○
- ○
endpoint added
endpoint-added
- ○