Get Buying Matrix Cell
GET/api/crm/buying-matrix/cell
One customer and column of the buying matrix: the customer's products in it in the period (quantity, revenue, orders, last order), their sent quotes for it, when they last bought it before the period, and suggestions: the products in that column bought by the most of your visible customers in the same segment in the period, leaving out what this customer bought.
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 who have ordered at least once. 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).
Cell statuses, per customer and column: bought (at least one product line of a non-draft, non-cancelled sales order in the period), else quoted (a product line on a sent quote created in the period; draft, template, revised, archived and deleted quotes do not count), else lapsed (bought before the period), else never. Lines map to a column through the product: its brand, or each of its categories rolled up the category tree to the column on its path (a product in two categories counts in both). Column 0 holds products without a category (top level only) or without a brand; drilled into a category, a column with that category's id holds products filed on it directly rather than in a subcategory. These catch-all columns are shown only when someone bought from them. Revenue is line revenue less discounts and credits, in the base currency, excluding tax and shipping.
Period: period_start and period_end (Y-m-d, account timezone, inclusive; default the last 12 months, at most five years, ending no later than today).
Requires customer_id and column_id (0 = none column) plus the same dimension, parent and period parameters as the matrix. A customer you cannot see returns 404; a column that is not in the matrix returns 422.
Request
Responses
- 200
- 401
- 403
- 404
- 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.
Not Found
Response Headers
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.