Retrieve a township
Returns a single township 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 township.
The requested township.
A township record.
The unique identifier of the township.
Whether the township is active. Inactive townships are excluded from storefront address lookups.
The display name of the township.
The identifier of the city this township belongs to.
The post/zip code associated with the township.
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 township does not exist.
GET /api/v1/remote/1/townships/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 42,
"is_active": true,
"name": "Kadıköy",
"city": 3,
"postcode": "34710",
"translations": {
"tr": {
"name": "Kadıköy"
}
}
}Last updated
Was this helpful?

