Retrieve a district
Returns a single district 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 district.
The requested district.
A district record.
The unique identifier of the district.
Whether the district is active. Inactive districts are excluded from storefront address lookups.
The official name of the district.
The identifier of the city this district belongs to.
The identifier of the township this district belongs to.
The post/zip code of the district.
A mapping of language codes to translated field values. Example: {"tr": {"name": "Kadıköy"}}.
{}Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested district does not exist.
GET /api/v1/remote/1/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 7,
"is_active": true,
"name": "Kadıköy",
"city": 3,
"township": 12,
"postcode": "34710",
"translations": {
"tr": {
"name": "Kadıköy"
}
}
}Last updated
Was this helpful?

