Undo picks of a manufacturing order

🚧

Beta — subject to change. This endpoint is publicly available, but its request/response shape may evolve before General Availability as we incorporate early feedback.

Undoes the named picks of the order, each whole, as if they never happened: they are deleted from the order and from the stock history, and stock levels from each pick date on are recalculated. Use it to correct a wrong or extra pick. To give back material that was picked but not used, complete the order with the lower used quantity instead: that return is recorded as a stock movement.

  • A recipe row's total_actual_quantity that picking raised comes back down with it.
  • 422 PICK_ALREADY_USED (details.production_ingredient_ids) for a pick a completion has used.
  • 422 PICK_LINKED_TO_UNITS (details.picks, each with its linked_serial_number_ids) for a pick with parts linked to an output serial number.
  • 422 for a pick dated in a closed inventory period, for an id named twice, and for an id that isn't a pick of this order.

See the picking guide.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Manufacturing order id

Body Params
production_ingredient_ids
array of integers
required
length ≥ 1

The picks to undo: production ingredients of this order without a production.

production_ingredient_ids*
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json