|
1
|
/** |
|
2
|
* @schema AdminTaxRegion |
|
3
|
* type: object |
|
4
|
* description: The tax region's details. |
|
5
|
* x-schemaName: AdminTaxRegion |
|
6
|
* required: |
|
7
|
* - id |
|
8
|
* - country_code |
|
9
|
* - province_code |
|
10
|
* - metadata |
|
11
|
* - parent_id |
|
12
|
* - created_at |
|
13
|
* - updated_at |
|
14
|
* - deleted_at |
|
15
|
* - created_by |
|
16
|
* - tax_rates |
|
17
|
* - parent |
|
18
|
* - children |
|
19
|
* properties: |
|
20
|
* id: |
|
21
|
* type: string |
|
22
|
* title: id |
|
23
|
* description: The tax region's ID. |
|
24
|
* country_code: |
|
25
|
* type: string |
|
26
|
* title: country_code |
|
27
|
* description: The tax region's country code. |
|
28
|
* example: us |
|
29
|
* province_code: |
|
30
|
* type: string |
|
31
|
* title: province_code |
|
32
|
* description: The tax region's lower-case ISO 3166-2 province code. |
|
33
|
* example: us-ca |
|
34
|
* externalDocs: |
|
35
|
* url: https://en.wikipedia.org/wiki/ISO_3166-2 |
|
36
|
* description: Learn more about ISO 3166-2 |
|
37
|
* metadata: |
|
38
|
* type: object |
|
39
|
* description: The tax region's metadata, can hold custom key-value pairs. |
|
40
|
* externalDocs: |
|
41
|
* url: https://docs.medusajs.com/api/admin#manage-metadata |
|
42
|
* description: Learn how to manage metadata |
|
43
|
* parent_id: |
|
44
|
* type: string |
|
45
|
* title: parent_id |
|
46
|
* description: The ID of the parent tax region. |
|
47
|
* created_at: |
|
48
|
* type: string |
|
49
|
* format: date-time |
|
50
|
* title: created_at |
|
51
|
* description: The date the tax region was created. |
|
52
|
* updated_at: |
|
53
|
* type: string |
|
54
|
* format: date-time |
|
55
|
* title: updated_at |
|
56
|
* description: The date the tax region was updated. |
|
57
|
* deleted_at: |
|
58
|
* type: string |
|
59
|
* format: date-time |
|
60
|
* title: deleted_at |
|
61
|
* description: The date the tax region was deleted. |
|
62
|
* created_by: |
|
63
|
* type: string |
|
64
|
* title: created_by |
|
65
|
* description: The ID of the user that created the tax region. |
|
66
|
* tax_rates: |
|
67
|
* type: array |
|
68
|
* description: The tax region's rates. |
|
69
|
* items: |
|
70
|
* $ref: "#/components/schemas/AdminTaxRate" |
|
71
|
* parent: |
|
72
|
* $ref: "#/components/schemas/AdminTaxRegion" |
|
73
|
* children: |
|
74
|
* type: array |
|
75
|
* description: The tax region's children. |
|
76
|
* items: |
|
77
|
* $ref: "#/components/schemas/AdminTaxRegion" |
|
78
|
* |
|
79
|
*/ |
|
80
|
|