---
title: "Update"
method: PATCH
path: "/billing_new/pricing_zones/update/v1/{pricing_zone_id}"
tags: ["/billing_new", "/billing_new/pricing_zones"]
---

# Update

`PATCH /billing_new/pricing_zones/update/v1/{pricing_zone_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/billing_new/pricing_zones/update/v1/{pricing_zone_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chrt/apis/chrt-fastapi/docs/billing_new/pricing_zones/update/v1/:pricing_zone_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates an active pricing zone's name or membership; every sheet using it prices with the new zone. | authz: allowed_org_types=[provider], min_org_role=operator | (PricingZoneClientUpdate1) -> (PricingZone1)

## Path parameters

- `pricing_zone_id` string, required

## Request body

- PricingZoneClientUpdate1
  - `name` string, nullable
  - `shipper_account_ids` string[]
  - `postal_code_country_code` string, nullable
  - `postal_codes` string[]
  - `map_area` union
    - Polygon: Polygon Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'Polygon', required
      - `coordinates` array[], required
        - union[]
          - union
            - unknown[]
              - …
            - unknown[]
              - …
    - MultiPolygon: MultiPolygon Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'MultiPolygon', required
      - `coordinates` array[], required
        - array[]
          - union[]
            - union
              - …
  - `postal_code_country_code__set_to_None` boolean
  - `map_area__set_to_None` boolean

## Response `200`

Successful Response

- PricingZone1
  - `schema_version` 1, required
  - `name` string, required
  - `shipper_account_ids` string[]
  - `postal_code_country_code` string, nullable
  - `postal_codes` string[]
  - `map_area` union
    - Polygon: Polygon Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'Polygon', required
      - `coordinates` array[], required
        - union[]
          - union
            - unknown[]
              - …
            - unknown[]
              - …
    - MultiPolygon: MultiPolygon Model
      - `bbox` union
        - unknown[]
          - unknown
        - unknown[]
          - unknown
      - `type` 'MultiPolygon', required
      - `coordinates` array[], required
        - array[]
          - union[]
            - union
              - …
  - `_id` string, required
  - `owned_by_org_id` string, required: Must be a string starting with `org_`
  - `created_by_user_id` string, required: Must be a string starting with `user_`
  - `created_at_timestamp` string, date-time, required
  - `last_edited_by_user_id` string, required: Must be a string starting with `user_`
  - `last_edited_at_timestamp` string, date-time, required
  - `archived_by_user_id` string, nullable: Must be a string starting with `user_`
  - `archived_at_timestamp` string, date-time, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-06** `05afd8b01f0c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chrt/apis/chrt-fastapi/changes/billing_new/pricing_zones/update/v1/:pricing_zone_id/patch.md)

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) - [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/chrt/apis/chrt-fastapi/revisions/2945f2b4f0cf?raw)
