Country Tutorial
Last updated
Was this helpful?
Last updated
Was this helpful?
The Emporix e-commerce system does not impose any restrictions as to which countries can be configured as your business's locations.
The countries where your business is located are specified both tenant-wide and independently for particular sites.
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 .
Your tenant's country configuration is stored under the project_country key in the .
Site-specific country configuration is stored in the homeBase
field, inside the Site
object.
Check out the following tutorials to learn more about country configuration with Emporix API.
For more information on the Site object, check out the
To retrieve your tenant's country configuration, you need to send a request to the endpoint.
To change your tenant's country configuration, you need to send a request to the endpoint with updated country information in the request body.
The value in the request body must be compliant with the .
To retrieve a particular site's country configuration, you need to send a request to the endpoint. The country configuration will be returned under the homeBase
field in the response body.
To change a particular site's country configuration, you need to send a request to the endpoint with the address of your choice in the request body.
The country code must be compliant with the .
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.
To test the endpoint, open the API reference below or check the example of a curl request.