---
title: "Changes to Update a line item"
method: PATCH
path: "/api/v2/line_items/{id}"
---

# Changes to Update a line item

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 49 revisions.

- **2026-11-02** `fa3060fd0144`: 10 info
- **2026-10-30** `c1d50c4b9aa6`: 6 warning
- **2026-10-27** `f11a8740641a`: 4 breaking, 1 warning, 33 info
- **2026-09-08** `8f5c7905990c`: 2 info

## Changes

- **2026-11-02** `fa3060fd0144`: 10 info
  - 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-30** `c1d50c4b9aa6`: 6 warning
  - removed the request property `data/attributes/budget_ids`
  - removed the request property `data/attributes/manual_entry`
  - removed the request property `data/attributes/service_ids`
  - removed the optional property `data/attributes/budget_ids` from the response with the `200` status
  - removed the optional property `data/attributes/manual_entry` from the response with the `200` status
  - removed the optional property `data/attributes/service_ids` from the response with the `200` status
- **2026-10-27** `f11a8740641a`: 4 breaking, 1 warning, 33 info
  - response property `data/attributes/discount` list-of-types was widened by adding types `null and string` to media type `application/vnd.api+json` of response `200`
  - response property `data/attributes/tax_value` list-of-types was widened by adding types `null and string` to media type `application/vnd.api+json` of response `200`
  - the `data/attributes/quantity` response's property type changed from `number` to `string` for status `200`
  - the `data/attributes/tax_name` response's property type changed from `string` to no type for status `200`
  - deleted the `header` request parameter `X-Organization-Id`
  - added the new optional request property `data/attributes/budget_ids`
  - added the new optional request property `data/attributes/service_ids`
  - added the optional property `data/attributes/budget_ids` to the response with the `200` status
  - added the optional property `data/attributes/service_ids` to the response with the `200` status
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/expense` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/invoice` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/kpd_code` 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/service` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/service_type` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/_single_linkage_nullable` to the `data/relationships/tax_rate` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/tax_name, subschema #2` to the `data/attributes/tax_name` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/expense` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/invoice` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/kpd_code` 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/service` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/service_type` response property `anyOf` list for the response status `200`
  - removed `subschema #1: Single data` from the `data/relationships/tax_rate` response property `anyOf` list for the response status `200`
  - the response property `data/relationships/expense/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/expense/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - the response property `data/relationships/invoice/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/invoice/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - the response property `data/relationships/kpd_code/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/kpd_code/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - the response property `data/relationships/organization/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/organization/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - the response property `data/relationships/service/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/service/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - the response property `data/relationships/service_type/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/service_type/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - the response property `data/relationships/tax_rate/anyOf[subschema #2: Not included]/meta` became required for the status `200`
  - the response property `data/relationships/tax_rate/anyOf[subschema #2: Not included]/meta/included` became required for the status `200`
  - …this revision’s changelog is incomplete
- **2026-09-08** `8f5c7905990c`: 2 info
  - added the new optional request property `data/attributes/manual_entry`
  - added the optional property `data/attributes/manual_entry` to the response with the `200` status

---

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