Skip to main content

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.

Required scope: inventory:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

The case starts as open.

Body:

  • product_id (integer, required) — product of the lot
  • batch_number (string, required, max 128) — lot / batch number
  • title (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​

Created

Response Headers
    Content-Type