Raw
1 type: object
2 description: The region's details.
3 x-schemaName: AdminRegion
4 required:
5 - id
6 - currency_code
7 - name
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: Whether taxes are applied automatically during checkout.
26 countries:
27 type: array
28 description: The region's countries.
29 items:
30 $ref: ./AdminRegionCountry.yaml
31 payment_providers:
32 type: array
33 description: The region's payment providers.
34 items:
35 $ref: ./AdminPaymentProvider.yaml
36 metadata:
37 type: object
38 description: The region's metadata, can hold custom key-value pairs.
39 externalDocs:
40 url: https://docs.medusajs.com/api/admin#manage-metadata
41 description: Learn how to manage metadata
42 created_at:
43 type: string
44 format: date-time
45 title: created_at
46 description: The date the region was created.
47 updated_at:
48 type: string
49 format: date-time
50 title: updated_at
51 description: The date the region was updated.