Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminPostRegionsRegionReq.yaml
Shahed Nasser fa7c94b4cc docs: create docs workspace (#5174)
* docs: migrate ui docs to docs universe

* created yarn workspace

* added eslint and tsconfig configurations

* fix eslint configurations

* fixed eslint configurations

* shared tailwind configurations

* added shared ui package

* added more shared components

* migrating more components

* made details components shared

* move InlineCode component

* moved InputText

* moved Loading component

* Moved Modal component

* moved Select components

* Moved Tooltip component

* moved Search components

* moved ColorMode provider

* Moved Notification components and providers

* used icons package

* use UI colors in api-reference

* moved Navbar component

* used Navbar and Search in UI docs

* added Feedback to UI docs

* general enhancements

* fix color mode

* added copy colors file from ui-preset

* added features and enhancements to UI docs

* move Sidebar component and provider

* general fixes and preparations for deployment

* update docusaurus version

* adjusted versions

* fix output directory

* remove rootDirectory property

* fix yarn.lock

* moved code component

* added vale for all docs MD and MDX

* fix tests

* fix vale error

* fix deployment errors

* change ignore commands

* add output directory

* fix docs test

* general fixes

* content fixes

* fix announcement script

* added changeset

* fix vale checks

* added nofilter option

* fix vale error
2023-09-21 20:57:15 +03:00

56 lines
1.7 KiB
YAML

type: object
properties:
name:
description: The name of the Region
type: string
currency_code:
description: The 3 character ISO currency code to use in the Region.
type: string
externalDocs:
url: https://en.wikipedia.org/wiki/ISO_4217#Active_codes
description: See a list of codes.
automatic_taxes:
description: >-
If set to `true`, the Medusa backend will automatically calculate taxes
for carts in this region. If set to `false`, the taxes must be calculated
manually.
externalDocs:
url: https://docs.medusajs.com/modules/taxes/storefront/manual-calculation
description: How to calculate taxes in a storefront.
type: boolean
gift_cards_taxable:
description: If set to `true`, taxes will be applied on gift cards.
type: boolean
tax_provider_id:
description: >-
The ID of the tax provider to use. If none provided, the system tax
provider is used.
type: string
tax_code:
description: The tax code of the Region.
type: string
tax_rate:
description: The tax rate to use in the Region.
type: number
includes_tax:
x-featureFlag: tax_inclusive_pricing
description: Whether taxes are included in the prices of the region.
type: boolean
payment_providers:
description: A list of Payment Provider IDs that can be used in the Region
type: array
items:
type: string
fulfillment_providers:
description: A list of Fulfillment Provider IDs that can be used in the Region
type: array
items:
type: string
countries:
description: >-
A list of countries' 2 ISO characters that should be included in the
Region.
type: array
items:
type: string