Get Missing Orders Summary
GET/api/crm/missing-orders/summary
Counts and value at stake for the customers you can see, by status.
customers:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token with the customers scope and the customers.index permission.
The CRM activities feature must be switched on for the account; otherwise every CRM endpoint returns 404.
Customers covered: the active (not archived) customers you can see. Without permission to view all customers, that is only the customers whose default sales rep is your own sales rep (plus the reps in the sales rep groups you manage, with team access).
How lateness is worked out: a customer's usual interval is the average number of days between their order dates over the lookback window (24 months by default), and needs at least three order dates; customers with fewer are not listed. With the tolerance T from CRM Settings (missing_order_tolerance, default 1.5), days since the last order D and usual interval I: on_track when D < I, due from I, late from I × T days (rounded up) and very_late from twice that. Days are whole days in the account's timezone and are judged against today, so statuses move daily; intervals are recalculated nightly with the customer segments. average_order_value is the typical order (value at stake).
The rep and segment filters narrow the figures; status is not a filter here.
Response: computed_at (when intervals were last recalculated; null = never), lookback_months, tolerance, and totals: missing (late + very late), value_at_stake (sum of their typical orders, base currency), late, very_late, due.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.