---
title: "Changes to Update a line item option"
method: PATCH
path: "/line_item_options/{lineItemOptionId}"
---

# Changes to Update a line item option

`PATCH /line_item_options/{lineItemOptionId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 11 info

## Changes

- **2026-07-13** `859097ed3fe6`: 2 breaking, 2 warning, 11 info
  - added the new required request property `data/relationships/sku_option/data`
  - request property `data/type` was restricted to a list of enum values
  - removed the request property `data/relationships/sku_option/id`
  - removed the request property `data/relationships/sku_option/type`
  - added the new optional request property `data/attributes/_add_tags`
  - added the new optional request property `data/attributes/_remove_tags`
  - added the new optional request property `data/attributes/unit_amount_cents`
  - added the new optional request property `data/relationships/tags`
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/name` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the `type` request property default value `line_item_options` was removed
  - added the new `line_item_options` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/line_item_options/:lineItemOptionId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/line_item_options/:lineItemOptionId/patch)
