Fulfillment & ShippingGeo
List districts
Lists districts for a province, selected by its ID or source-specific code.
GET
/v1/geo/districtsLists districts for a province, selected by its ID or source-specific code.
Query Parameters
countryCode?string
ISO 3166-1 alpha-2 country code, for example PE.
provinceId?string
provinceCode?string
source?string
Source of the data.
search?string
Free-text filter. Which fields it covers depends on the resource.
limit?integer
Maximum number of results to return.
Format
int32Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/geo/districts"[ { "id": "7204558912004325301", "countryCode": "PE", "type": "level1", "code": "example_code", "name": "Example resource", "parentId": "7204558912004325301", "source": "example" }]