Aggregate counts and merchandise value for all fulfillment orders in a date window, including unshipped statuses. Use this as the denominator for volume, error rate, and revenue; the list endpoint supplies the per-order rows.
GET
/v1/orders/summary
curl \
--request GET 'https://api.pattern.com/hub/v1/orders/summary' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"total_orders": 42,
"order_value_totals": {
"additionalProperty1": 42.0,
"additionalProperty2": 42.0
},
"by_status": {
"additionalProperty1": 42,
"additionalProperty2": 42
}
}
Response examples (422)
{
"errors": [
"string"
]
}