---
title: "Changes to Update a shipping zone"
method: PATCH
path: "/shipping_zones/{shippingZoneId}"
---

# Changes to Update a shipping zone

`PATCH /shipping_zones/{shippingZoneId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 1 breaking, 12 info

## Changes

- **2026-07-13** `859097ed3fe6`: 1 breaking, 12 info
  - request property `data/type` was restricted to a list of enum values
  - the request property `data/attributes/country_code_regex` became nullable
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/not_country_code_regex` became nullable
  - the request property `data/attributes/not_state_code_regex` became nullable
  - the request property `data/attributes/not_zip_code_regex` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the request property `data/attributes/state_code_regex` became nullable
  - the request property `data/attributes/zip_code_regex` became nullable
  - the `type` request property default value `shipping_zones` was removed
  - added the new `shipping_zones` 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/shipping_zones/:shippingZoneId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/shipping_zones/:shippingZoneId/patch)
