---
title: "Changes to Update a purchase order"
method: PATCH
path: "/api/v2/purchase_orders/{id}"
---

# Changes to Update a purchase order

`PATCH /api/v2/purchase_orders/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 49 revisions.

- **2026-11-02** `fa3060fd0144`: 3 warning, 10 info
- **2026-10-27** `f11a8740641a`: 10 breaking, 1 warning, 52 info

## Changes

- **2026-11-02** `fa3060fd0144`: 3 warning, 10 info
  - added the new `bad_decimal_format` enum value to the `errors/items/code` response property for the response status `422`
  - added the new `non_finite_number` enum value to the `errors/items/code` response property for the response status `422`
  - added the new `null_bytes_in_params` enum value to the `errors/items/code` response property for the response status `422`
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `406`
  - added the non-success response with the status `408`
  - added the non-success response with the status `415`
  - added the non-success response with the status `423`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **2026-10-27** `f11a8740641a`: 10 breaking, 1 warning, 52 info
  - the `data/attributes/delivery_on` response's property type changed from `string` to no type, and format from `date` to no format for status `200`
  - the `data/attributes/email_key` response's property type changed from `string` to no type for status `200`
  - the `data/attributes/exchange_rate` response's property type changed from `number` to `string` for status `200`
  - the `data/attributes/export_id` response's property type changed from `string` to no type for status `200`
  - the `data/attributes/export_integration_type_id` response's property type changed from `integer` to no type for status `200`
  - the `data/attributes/export_url` response's property type changed from `string` to no type for status `200`
  - the `data/attributes/exported_at` response's property type changed from `string` to no type, and format from `date-time` to no format for status `200`
  - the `data/attributes/number` response's property type changed from `string` to no type for status `200`
  - the `data/attributes/received_on` response's property type changed from `string` to no type, and format from `date-time` to no format for status `200`
  - the `data/attributes/sent_on` response's property type changed from `string` to no type, and format from `date` to no format for status `200`
  - deleted the `header` request parameter `X-Organization-Id`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/attachment` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/bill_from` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/bill_to` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/creator` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/deal` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/document_type` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/organization` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/vendor` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/delivery_on, subschema #2` to the `data/attributes/delivery_on` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/email_key, subschema #2` to the `data/attributes/email_key` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/export_id, subschema #2` to the `data/attributes/export_id` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/export_integration_type_id, subschema #2` to the `data/attributes/export_integration_type_id` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/export_url, subschema #2` to the `data/attributes/export_url` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/exported_at, subschema #2` to the `data/attributes/exported_at` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/number, subschema #2` to the `data/attributes/number` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/received_on, subschema #2` to the `data/attributes/received_on` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/sent_on, subschema #2` to the `data/attributes/sent_on` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/attachment` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/bill_from` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/bill_to` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/creator` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/deal` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/document_type` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/organization` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/vendor` response property `anyOf` list for the response status `200`
  - the response property `data/relationships/attachment/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/attachment/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - the response property `data/relationships/bill_from/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/bill_from/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - …23 more
  - …this revision’s changelog is incomplete

---

[Operation](https://skmtc.dev/productive/apis/api-documentation/docs/api/v2/purchase_orders/:id/patch.md) - [API](https://skmtc.dev/productive/apis/api-documentation.md) - [Page](https://skmtc.dev/productive/apis/api-documentation/changes/api/v2/purchase_orders/:id/patch)
