Reclassify Sales by Price Type
POST/api/reports/price-type-sell-through/reclassify
Starts a background job that re-runs the price type classification over past sales orders — for example after you add or change discount price type rules — and returns its tracked job ID (tracked_job_log_id). Poll the tracked job to follow progress; when it completes, its results report orders_processed.
reports:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body:
date_from(optional, Y-m-d) — reclassify orders from this date on. Omit to reclassify the whole order history.
Requires access to the Sell-Through by Price Type report and the reports scope.
Request
Responses
- 200
- 401
- 403
- 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.
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.