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

51 lines
1.2 KiB
YAML

type: object
description: The region's details.
x-schemaName: BaseRegion
required:
- id
- name
- currency_code
properties:
id:
type: string
title: id
description: The region's ID.
name:
type: string
title: name
description: The region's name.
currency_code:
type: string
title: currency_code
description: The region's currency code.
automatic_taxes:
type: boolean
title: automatic_taxes
description: The region's automatic taxes.
countries:
type: array
description: The region's countries.
items:
$ref: ./BaseRegionCountry.yaml
payment_providers:
type: array
description: The region's payment providers.
items:
$ref: ./AdminPaymentProvider.yaml
metadata:
type: object
description: The region's metadata.
externalDocs:
url: https://docs.medusajs.com/api/store#manage-metadata
description: Learn how to manage metadata
created_at:
type: string
format: date-time
title: created_at
description: The region's created at.
updated_at:
type: string
format: date-time
title: updated_at
description: The region's updated at.