Retrieve Store Operating Countries
GET
v1/managers/countriesRetrieve a list of countries where the store operates. This list includes the country's unique ID, name, ISO codes, and flag image URL.
Request
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Preferred language for the response. Defaults to en
if not specified.
Request samples
Responses
A list of countries is returned
Unique identifier of the country
Name of the country, written in the language specified by the Accept-Language header parameter; defaults to Arabic if Accept-Language is not specified.
Two-letter country code according to ISO 3166-1 alpha-2
Three-letter country code according to ISO 3166-1 alpha-3
URL to the country's flag image
{
"status": "object",
"countries": [
{
"id": 184,
"name": "السعودية",
"code": "SA",
"country_code": "SAU",
"flag": "https://media.zid.store/static/sa.svg"
}
],
"message": {
"type": "object",
"code": null,
"name": null,
"description": null
}
}