|
1
|
type: object |
|
2
|
description: The region's details. |
|
3
|
x-schemaName: AdminCreateRegion |
|
4
|
required: |
|
5
|
- name |
|
6
|
- currency_code |
|
7
|
properties: |
|
8
|
name: |
|
9
|
type: string |
|
10
|
title: name |
|
11
|
description: The region's name. |
|
12
|
currency_code: |
|
13
|
type: string |
|
14
|
title: currency_code |
|
15
|
description: The region's currency code. |
|
16
|
example: usd |
|
17
|
countries: |
|
18
|
type: array |
|
19
|
description: The region's countries. |
|
20
|
items: |
|
21
|
type: string |
|
22
|
title: countries |
|
23
|
description: A country code. |
|
24
|
example: us |
|
25
|
automatic_taxes: |
|
26
|
type: boolean |
|
27
|
title: automatic_taxes |
|
28
|
description: Whether taxes are calculated automatically during checkout in this region. |
|
29
|
is_tax_inclusive: |
|
30
|
type: boolean |
|
31
|
title: is_tax_inclusive |
|
32
|
description: Whether prices in this region are tax inclusive. |
|
33
|
payment_providers: |
|
34
|
type: array |
|
35
|
description: The payment providers enabled in this region. |
|
36
|
items: |
|
37
|
type: string |
|
38
|
title: payment_providers |
|
39
|
description: A payment provider's ID. |
|
40
|
example: pp_stripe_stripe |
|
41
|
metadata: |
|
42
|
type: object |
|
43
|
description: The region's metadata, used to store custom key-value pairs. |
|
44
|
externalDocs: |
|
45
|
url: https://docs.medusajs.com/api/admin#manage-metadata |
|
46
|
description: Learn how to manage metadata |