orders

Update an order status (synchronous)

Changed on

Transitions 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

Path parameters

idstring uuid required
Example:01920000-0000-7000-8000-000000000000

Order identifier (UUID).

Request body

metadataobject nullable
statusstring required

Response

Order status updated.

idstring required
statusstring required
previous_statusstring required
updated_atstring required
event_idstring required

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

    • info

      endpoint added