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