|
1
|
/** |
|
2
|
* @schema AdminUpdateTaxRate |
|
3
|
* type: object |
|
4
|
* description: The properties to update in the tax rate. |
|
5
|
* x-schemaName: AdminUpdateTaxRate |
|
6
|
* properties: |
|
7
|
* rate: |
|
8
|
* type: number |
|
9
|
* title: rate |
|
10
|
* description: The rate to charge. |
|
11
|
* code: |
|
12
|
* type: string |
|
13
|
* title: code |
|
14
|
* description: The code that the tax rate is identified by. |
|
15
|
* rules: |
|
16
|
* type: array |
|
17
|
* description: The tax rate's rules. |
|
18
|
* items: |
|
19
|
* $ref: "#/components/schemas/AdminCreateTaxRateRule" |
|
20
|
* name: |
|
21
|
* type: string |
|
22
|
* title: name |
|
23
|
* description: The tax rate's name. |
|
24
|
* is_default: |
|
25
|
* type: boolean |
|
26
|
* title: is_default |
|
27
|
* description: Whether the tax rate is the default in the store. |
|
28
|
* is_combinable: |
|
29
|
* type: boolean |
|
30
|
* title: is_combinable |
|
31
|
* description: Whether the tax rate should be combined with parent rates. |
|
32
|
* externalDocs: |
|
33
|
* url: https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates |
|
34
|
* metadata: |
|
35
|
* type: object |
|
36
|
* description: The tax rate's metadata, can hold custom key-value pairs. |
|
37
|
* externalDocs: |
|
38
|
* url: https://docs.medusajs.com/api/admin#manage-metadata |
|
39
|
* description: Learn how to manage metadata |
|
40
|
* |
|
41
|
*/ |
|
42
|
|