state-machines

Update state machine

Partially updates a state machine by its identifier (name, transitions, active). The code and entity type are immutable. When transitions change, the resulting graph goes through the same structural save validations as creation.

patch/api/v1/state-machines/{id}

Path parameters

idstring uuid required
Example:6f0d9c5a-7d4d-4f6a-9b6a-2b5a0b5a0b5a

State machine identifier (UUID v4).

Request body

namestring
activeboolean

Response

State machine updated.

idstring required
entity_type'ORDER' | 'FULFILLMENT_ORDER' required
codestring required
namestring required
activeboolean required
created_atstring required
updated_atstring required

Changes