Country Service Tutorials
Supported countries
The Emporix e-commerce system does not impose any restrictions as to which countries can be configured as your business's locations.
Country configurations
The countries where your business is located are specified both tenant-wide and independently for particular sites.
info
What's the difference between a tenant's country configuration and a site's country configuration?
A tenant's country configuration specifies where your business's headquarters are located.
A particular site's country configuration specifies where that site is located.
Country codes defined in country configurations must be compliant with the ISO 3166-1 alpha-2 standard.
Your tenant's country configuration is stored under the project_country key in the Emporix API Configuration Service.
{
"key": "project_country",
"value": "DE"
}
homeBase
field, inside the Site
object.{
"homeBase": {
"address": {
"zipCode": "10115",
"country": "DE"
}
}
}
info
For more information on the Site object, check out the Site Settings Service guide.
Managing country configurations through Emporix API
Check out the following tutorials to learn more about country configuration with Emporix API.
How to check which country is configured for your tenant
To retrieve your tenant's country configuration, you need to send a request to theHow to change your tenant's country configuration
To change your tenant's country configuration, you need to send a request to theattention
The value in the request body must be compliant with the ISO 3166-1 alpha-2 standard.
How to check which country is configured for a particular site
To retrieve a particular site's country configuration, you need to send a request to thehomeBase
field in the response body.How to change a particular site's country configuration
To change a particular site's country configuration, you need to send a request to theattention
The country code must be compliant with the ISO 4217 standard.