---
title: "Changes to Update state machine"
method: PATCH
path: "/api/v1/state-machines/{id}"
---

# Changes to Update state machine

`PATCH /api/v1/state-machines/{id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 9 revisions.

- **2026-07-07** `a3b4750a505f` — 1 breaking, 14 info
- **2026-07-07** `84194c31ab85` — 10 breaking, 4 warning, 2 info

## Changes

- **2026-07-07** `a3b4750a505f` — 1 breaking, 14 info
  - added the new required request property `generateFulfillmentAction/status`
  - added the new optional request property `active`
  - added the new optional request property `name`
  - added the new optional request property `states`
  - added the new optional request property `transitions`
  - added the required property `active` to the response with the `200` status
  - added the required property `code` to the response with the `200` status
  - added the required property `created_at` to the response with the `200` status
  - added the required property `entity_type` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `is_default` to the response with the `200` status
  - added the required property `name` to the response with the `200` status
  - added the required property `transitions` to the response with the `200` status
  - added the required property `updated_at` to the response with the `200` status
  - added the required property `version` to the response with the `200` status
- **2026-07-07** `84194c31ab85` — 10 breaking, 4 warning, 2 info
  - the response property `states/items/actions` became optional for the status `200`
  - the response property `states/items/status` became optional for the status `200`
  - removed the required property `active` from the response with the `200` status
  - removed the required property `code` from the response with the `200` status
  - removed the required property `created_at` from the response with the `200` status
  - removed the required property `entity_type` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `name` from the response with the `200` status
  - removed the required property `transitions` from the response with the `200` status
  - removed the required property `updated_at` from the response with the `200` status
  - removed the request property `active`
  - removed the request property `name`
  - removed the request property `states`
  - removed the request property `transitions`
  - added the new optional request property `generateFulfillmentAction`
  - added the non-success response with the status `409`

---

[Operation](https://skmtc.dev/kruzer-corp/apis/oms-api/docs/api/v1/state-machines/:id/patch.md) · [API](https://skmtc.dev/kruzer-corp/apis/oms-api.md) · [Page](https://skmtc.dev/kruzer-corp/apis/oms-api/changes/api/v1/state-machines/:id/patch)
