1 type: object
2 description: The region's details.
3 x-schemaName: StoreRegion
4 required:
5 - id
6 - name
7 - currency_code
8 properties:
9 id:
10 type: string
11 title: id
12 description: The region's ID.
13 name:
14 type: string
15 title: name
16 description: The region's name.
17 currency_code:
18 type: string
19 title: currency_code
20 description: The region's currency code.
21 example: usd
22 automatic_taxes:
23 type: boolean
24 title: automatic_taxes
25 description: >-
26 Whether taxes are calculated automatically during checkout for carts that
27 belong to this region.
28 countries:
29 type: array
30 description: The region's countries.
31 items:
32 $ref: ./BaseRegionCountry.yaml
33 payment_providers:
34 type: array
35 description: The region's payment providers.
36 items:
37 $ref: ./AdminPaymentProvider.yaml
38 metadata:
39 type: object
40 description: The region's metadata, can hold custom key-value pairs.
41 externalDocs:
42 url: https://docs.medusajs.com/api/store#manage-metadata
43 description: Learn how to manage metadata
44 created_at:
45 type: string
46 format: date-time
47 title: created_at
48 description: The date the region was created.
49 updated_at:
50 type: string
51 format: date-time
52 title: updated_at
53 description: The date the region was updated.