Retrieve a country
Returns a single country by its identifier.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the country.
The requested country.
A country record.
The unique identifier of the country.
Whether the country is active. Inactive countries are excluded from storefront address lookups.
The display name of the country.
The unique country code (e.g. ISO 3166-1 alpha-2).
A mapping of language codes to translated field values. Example: {"tr": {"name": "Türkiye"}, "en": {"name": "Turkey"}}.
{}Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested country does not exist.
GET /api/v1/remote/1/countries/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"is_active": true,
"name": "Turkey",
"code": "TR",
"translations": {
"tr": {
"name": "Türkiye"
}
}
}Last updated
Was this helpful?

