---
title: "Changes to Update a stock transfer"
method: PATCH
path: "/stock_transfers/{stockTransferId}"
---

# Changes to Update a stock transfer

`PATCH /stock_transfers/{stockTransferId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 4 breaking, 6 warning, 12 info

## Changes

- **2026-07-13** `859097ed3fe6`: 4 breaking, 6 warning, 12 info
  - added the new required request property `data/relationships/destination_stock_location/data`
  - added the new required request property `data/relationships/origin_stock_location/data`
  - added the new required request property `data/relationships/sku/data`
  - request property `data/type` was restricted to a list of enum values
  - removed the request property `data/relationships/destination_stock_location/id`
  - removed the request property `data/relationships/destination_stock_location/type`
  - removed the request property `data/relationships/origin_stock_location/id`
  - removed the request property `data/relationships/origin_stock_location/type`
  - removed the request property `data/relationships/sku/id`
  - removed the request property `data/relationships/sku/type`
  - added the new optional request property `data/attributes/_on_hold`
  - added the new optional request property `data/attributes/number`
  - added the new optional request property `data/attributes/quantity`
  - added the new optional request property `data/relationships/line_item`
  - added the new optional request property `data/relationships/shipment`
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the request property `data/attributes/sku_code` became nullable
  - the `type` request property default value `stock_transfers` was removed
  - added the new `stock_transfers` 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/stock_transfers/:stockTransferId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/stock_transfers/:stockTransferId/patch)
