Update a manufacturing order

Updates the specified manufacturing order by setting the values of the parameters passed.
Any parameters not provided will be left unchanged.

Setting status to DONE completes the order: the products still to make are added to stock and the ingredients
are consumed by each recipe row's total_actual_quantity (or planned quantity). The request returns once the order
shows DONE. When ingredient picking is on, the order is completed from the picked material only and is refused unless
every recipe row is picked up to that quantity; lower total_actual_quantity first to finish with what was picked.
Setting a DONE order back to an open status reverts its completions. See
Completing manufacturing orders.

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

manufacturing order id

Body Params

manufacturing order details

string
enum

Not updatable when manufacturing order status is DONE and location is deleted
or manufacturing_allowed is false.

Allowed:
string

Not updatable when manufacturing order status is DONE.

number

Not updatable when manufacturing order status is DONE.

number

Not updatable when manufacturing order status is DONE.

number

Not updatable when manufacturing order status is DONE.

number

Not updatable when manufacturing order status is DONE.

string
string

Use only if automatic production deadline calculation for the factory location is switched OFF.
Not updatable when manufacturing order status is DONE.
Not updatable when manufacturing order status is DONE.

string
string
batch_transactions
array of objects
deprecated

Not updatable when manufacturing order status is DONE. Deprecated in favor of traceability.

batch_transactions
traceability
array of objects

Pre-assigned traceability for the order output. Produced traceability is moved to the production.

traceability
custom_fields
object | null

Behind feature flag — contact [email protected] to enable. Custom field values keyed by custom field definition ID (UUID) of a definition with entity_type ManufacturingOrder, or of a variant definition that lists ManufacturingOrder in options.appearsOn. Each value matches the definition’s field_type — string for shortText/url, number for number, boolean for boolean, YYYY-MM-DD string for date, or the integer choice id for singleSelect. Merged with existing values — omit a key to leave it unchanged. Set the whole field to null to clear every custom field value on this manufacturing order. Variant snapshots are not re-synced on update. Unknown definition IDs are rejected with a 422.

Responses

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