Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminCreateTaxRegion.yaml
2024-07-01 15:35:45 +03:00

52 lines
1.2 KiB
YAML

type: object
description: SUMMARY
x-schemaName: AdminCreateTaxRegion
required:
- country_code
- province_code
- parent_id
- metadata
properties:
country_code:
type: string
title: country_code
description: The tax region's country code.
province_code:
type: string
title: province_code
description: The tax region's province code.
parent_id:
type: string
title: parent_id
description: The tax region's parent id.
default_tax_rate:
type: object
description: The tax region's default tax rate.
required:
- name
- metadata
properties:
rate:
type: number
title: rate
description: The default tax rate's rate.
code:
type: string
title: code
description: The default tax rate's code.
name:
type: string
title: name
description: The default tax rate's name.
is_combinable:
type: string
enum:
- 'true'
- 'false'
metadata:
type: object
description: The default tax rate's metadata.
metadata:
type: object
description: The tax region's metadata.