Update a fulfillment order status (synchronous)
Changed onTransitions the fulfillment order to a new status, validated against the state machine version pinned on the FO at creation. On a valid transition it appends an immutable timeline event (FulfillmentOrderTrackingEvent) — the status change and the timeline entry run in a single transaction. Inventory effects are not applied by this endpoint. CANCELLED and REJECTED are not allowed here: they require a reason and go through the dedicated reject/cancel endpoint. accountCode and the actor (user or service account) come from the JWT.
Request
- Base URLhttps://oms-api.tenant.krzlabs.io
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Fulfillment order identifier (UUID).
Request body
Response
Fulfillment order status updated.
Changes
- breaking
added the new required request property
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info