orders
Update an order status (synchronous)
Changed onTransitions the order to a new status, validated by the order state machine snapshot embedded at creation. On success it appends an immutable timeline event (OrderTrackingEvent). Operator / internal-integration path: accountCode and the actor (user or service account) come from the JWT.
patch/api/v1/orders/{id}/status
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
idstring uuid required
Example:01920000-0000-7000-8000-000000000000
Order identifier (UUID).
Request body
Response
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