docs: clarify ISO format for province codes (#12282)
* docs: clarify ISO format for province codes * regenerate
This commit is contained in:
+14604
-14600
File diff suppressed because it is too large
Load Diff
@@ -39,6 +39,12 @@ A service zone is represented by the [ServiceZone data model](/references/fulfil
|
||||
|
||||
A service zone can have multiple geographical zones, each represented by the [GeoZone data model](/references/fulfillment/models/GeoZone). It holds location-related details to narrow down supported areas, such as country, city, or province code.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
The province code is always in lower-case and in [ISO 3166-2 format](https://en.wikipedia.org/wiki/ISO_3166-2).
|
||||
|
||||
</Note>
|
||||
|
||||
---
|
||||
|
||||
## Shipping Profile
|
||||
|
||||
@@ -26,6 +26,12 @@ For example, a fulfillment provider may have a shipping option that can be used
|
||||
|
||||
Service zones can be more restrictive, such as restricting to certain cities or province codes.
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
The province code is always in lower-case and in [ISO 3166-2 format](https://en.wikipedia.org/wiki/ISO_3166-2).
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
@@ -56,7 +56,7 @@ You also must pass at least one of the following query parameters to retrieve an
|
||||
`province`
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
The province, which can be taken from a customer's address. This parameter helps further narrowing down the taxes applied on a the product variant's prices.
|
||||
The lower-case [ISO 3166-2 province code](https://en.wikipedia.org/wiki/ISO_3166-2), which can be taken from a customer's address. This parameter helps further narrowing down the taxes applied on a the product variant's prices.
|
||||
</Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
|
||||
@@ -20,11 +20,11 @@ export const generatedEditDates = {
|
||||
"app/commerce-modules/customer/page.mdx": "2025-04-17T08:48:31.918Z",
|
||||
"app/commerce-modules/fulfillment/_events/_events-table/page.mdx": "2024-07-03T19:27:13+03:00",
|
||||
"app/commerce-modules/fulfillment/_events/page.mdx": "2024-07-03T19:27:13+03:00",
|
||||
"app/commerce-modules/fulfillment/concepts/page.mdx": "2024-06-19T13:02:16+00:00",
|
||||
"app/commerce-modules/fulfillment/concepts/page.mdx": "2025-04-24T09:21:37.616Z",
|
||||
"app/commerce-modules/fulfillment/fulfillment-provider/page.mdx": "2025-02-26T11:21:56.242Z",
|
||||
"app/commerce-modules/fulfillment/item-fulfillment/page.mdx": "2024-10-08T14:38:15.496Z",
|
||||
"app/commerce-modules/fulfillment/module-options/page.mdx": "2024-10-15T12:51:56.118Z",
|
||||
"app/commerce-modules/fulfillment/shipping-option/page.mdx": "2025-04-17T13:51:40.980Z",
|
||||
"app/commerce-modules/fulfillment/shipping-option/page.mdx": "2025-04-24T09:21:52.540Z",
|
||||
"app/commerce-modules/fulfillment/page.mdx": "2025-04-17T08:48:19.367Z",
|
||||
"app/commerce-modules/inventory/_events/_events-table/page.mdx": "2024-07-03T19:27:13+03:00",
|
||||
"app/commerce-modules/inventory/_events/page.mdx": "2024-07-03T19:27:13+03:00",
|
||||
@@ -168,7 +168,7 @@ export const generatedEditDates = {
|
||||
"app/storefront-development/products/price/examples/sale-price/page.mdx": "2025-03-27T14:47:14.308Z",
|
||||
"app/storefront-development/products/price/examples/show-price/page.mdx": "2025-03-27T14:47:14.292Z",
|
||||
"app/storefront-development/products/price/examples/tax-price/page.mdx": "2025-03-27T14:47:14.292Z",
|
||||
"app/storefront-development/products/price/page.mdx": "2025-03-26T12:08:16.029Z",
|
||||
"app/storefront-development/products/price/page.mdx": "2025-04-24T09:25:43.094Z",
|
||||
"app/storefront-development/products/retrieve/page.mdx": "2025-03-27T14:46:51.433Z",
|
||||
"app/storefront-development/products/variants/page.mdx": "2025-03-27T14:46:51.576Z",
|
||||
"app/storefront-development/products/page.mdx": "2024-06-11T19:55:56+02:00",
|
||||
|
||||
@@ -150,7 +150,7 @@ To create a sublevel tax region in a tax region:
|
||||
2. In the "Sublevels" section or its equivalent (such as States, Province, or Cantons), click the "Create" button.
|
||||
3. In the form that opens:
|
||||
- If the country supports a sublevel by default, you'll find an input to select a state, province, or canton.
|
||||
- If the country doesn't support a sublevel by default, you'll find an input to enter the ISO 3166-2 code of the sublevel.
|
||||
- If the country doesn't support a sublevel by default, you'll find an input to enter the lower-case [ISO 3166-2 code](https://en.wikipedia.org/wiki/ISO_3166-2) of the sublevel.
|
||||
- Under the "Default tax rate" section, you can optionally enter a name, tax rate, and tax code in their respective fields.
|
||||
- If the tax region's rates should be combined with the parent's rates, enable the "Combinable" toggle.
|
||||
4. Once you're done, click the Save button.
|
||||
|
||||
Reference in New Issue
Block a user