Get Customer Sales Targets
GET/api/sales-rep-targets/customers/:customer
Every target set for one customer (retailer) in one period, across all sales reps — for the retailer as a whole, for a brand at the retailer, and for a category at the retailer — with actual sales to that customer so far and the pace the period implies.
settings:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Each row carries scope (customer, customer_brand or customer_category), target, actual, variance and percent_of_target. Actual sales are counted exactly as in Get Sales Rep Target Performance. A category target also counts its subcategories' sales unless a subcategory has its own target.
period.elapsed_percent is how much of the period has gone by today (0 before it starts, 100 once it ends). expected_to_date is target × that share, and on_pace is true when actual has reached it — halfway through the year needs half the target.
Targets without a customer are not included. Rows are ordered retailer-wide first, then brand, then category. Requires the sales_reps.index permission.
A user who sees only their own customers gets 404 for a customer that is not theirs or their team's. For a customer they can see, only their own and their team's reps' targets are listed.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 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 — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Content
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.