Download OpenAPI specification:Download
Holds a localized list of countries and regions to which the business may sell.
Key Features:
Key Benefits:
Retrieves all countries assigned to the tenant. You can filter, sort and paginate the results with query parameters.
The request was successful. A list of countries is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
Internal Service Error occurred.
[- {
- "code": "PL",
- "name": {
- "en": "Poland",
- "pl": "Polska"
}, - "regions": [
- "Europe"
], - "metadata": {
- "createdAt": "2022-03-31T13:18:02.379Z",
- "modifiedAt": "2022-03-31T13:18:02.379Z",
- "version": 1
}
}
]
Retrieves a country by the specified code.
The request was successful. The requested country is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
The requested resource does not exist.
Internal Service Error occurred.
{- "code": "PL",
- "name": {
- "en": "Poland",
- "pl": "Polska"
}, - "regions": [
- "Europe"
], - "metadata": {
- "createdAt": "2022-03-31T13:18:02.379Z",
- "modifiedAt": "2022-03-31T13:18:02.379Z",
- "version": 1
}
}
Updates a country. It is possible to update active
field only. The field indicates whether the given country is active for the tenant or not. Only active countries are visible in the system.
Required scopes
No Content
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Internal Service Error occurred.
{- "active": true,
- "metadata": {
- "version": 1
}
}
{- "status": "Bad Request",
- "code": 400,
- "message": "Tenant in the header is not matching with the one provided in the URI."
}
Get the filtered list of regions. The endpoint fully supports paging, sorting and filtering mechanism.
The request was successful. A list of regions is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
Internal Service Error occurred.
[- {
- "code": "Europe",
- "name": {
- "en": "Europe",
- "pl": "Europa"
}, - "metadata": {
- "createdAt": "2022-03-31T13:18:02.379Z",
- "modifiedAt": "2022-03-31T13:18:02.379Z",
- "version": 1
}
}
]
Retrieves a region by the specified code.
The request was successful. The requested region is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
The requested resource does not exist.
Internal Service Error occurred.
{- "code": "Europe",
- "name": {
- "en": "Europe",
- "pl": "Europa"
}, - "metadata": {
- "createdAt": "2022-03-31T13:18:02.379Z",
- "modifiedAt": "2022-03-31T13:18:02.379Z",
- "version": 1
}
}