Create Recall Case
POST/api/v2/recall-cases
Opens a recall case on a lot. The lot's forward genealogy is traced at once and every sales order that shipped it is saved on the case as an affected order (customer, email, product, lot, quantity and ship date), so the record no longer depends on later edits to those orders.
inventory:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
The case starts as open.
Body:
product_id(integer, required) — product of the lotbatch_number(string, required, max 128) — lot / batch numbertitle(string, required, max 255)reason(string, optional, max 5000)classification(optional) — class_1, class_2, class_3 or unclassified (default)
Returns 404 when no stock was ever received under that lot.
Request
Responses
- 201
- 401
- 403
- 404
- 422
- 429
Created
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
Unprocessable Entity
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.