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. Deactivating (active: false) is blocked while a live strategy references the machine, and ORDER machines cannot be deactivated at all (canonical order flow of the account).
Path parameters
State machine identifier (UUID).
Request body
Response
State machine updated.
Changes
Changed in 2 of the 9 revisions of this API.11416
- ▲
added the new required request property
generateFulfillmentAction/statusnew-required-request-property
- ○
added the new optional request property
activenew-optional-request-property
- ○
added the new optional request property
namenew-optional-request-property
- ○
added the new optional request property
statesnew-optional-request-property
- ○
added the new optional request property
transitionsnew-optional-request-property
- ○
added the required property
activeto the response with the200statusresponse-required-property-added
- ○
added the required property
codeto the response with the200statusresponse-required-property-added
- ○
added the required property
created_atto the response with the200statusresponse-required-property-added
- ○
added the required property
entity_typeto the response with the200statusresponse-required-property-added
- ○
added the required property
idto the response with the200statusresponse-required-property-added
- ○
added the required property
is_defaultto the response with the200statusresponse-required-property-added
- ○
added the required property
nameto the response with the200statusresponse-required-property-added
- ○
added the required property
transitionsto the response with the200statusresponse-required-property-added
- ○
added the required property
updated_atto the response with the200statusresponse-required-property-added
- ○
added the required property
versionto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response property
states/items/actionsbecame optional for the status200response-property-became-optional
- ▲
the response property
states/items/statusbecame optional for the status200response-property-became-optional
- ▲
removed the required property
activefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
codefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
created_atfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
entity_typefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
namefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
transitionsfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
updated_atfrom the response with the200statusresponse-required-property-removed
- ●
removed the request property
activerequest-property-removed
- ●
removed the request property
namerequest-property-removed
- ●
removed the request property
statesrequest-property-removed
- ●
removed the request property
transitionsrequest-property-removed
- ○
added the new optional request property
generateFulfillmentActionnew-optional-request-property
- ○
added the non-success response with the status
409response-non-success-status-added
This revision also has 36 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲