Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminUpdateTaxRegion.yaml

25 lines
787 B
YAML

type: object
description: The details to update in a tax region.
x-schemaName: AdminUpdateTaxRegion
properties:
province_code:
type: string
title: province_code
description: The tax region's ISO 3166-2 province code. Must be lower-case.
example: us-ca
externalDocs:
url: https://en.wikipedia.org/wiki/ISO_3166-2
description: Learn more about ISO 3166-2
metadata:
type: object
description: The tax region's metadata, can hold custom key-value pairs.
externalDocs:
url: https://docs.medusajs.com/api/admin#manage-metadata
description: Learn how to manage metadata
provider_id:
type: string
title: provider_id
description: >-
The ID of the tax provider to use when calculating taxes for this tax
region.