Look up the zone serving points
POST /v1/service_zones/lookup
For each point, returns the highest-priority enabled zone that contains it.
Authentication
Send a token issued in the Zoopit dashboard as Authorization: Bearer <token>.
Request body
| Field | Type | Required |
|---|---|---|
owner | string | yes |
points | array of object | yes |
at | string | |
group_id | string |
Responses
200
resource: array of object
| Field | Type | Required |
|---|---|---|
id | string | yes |
zone_id | null or string | yes |
code | null or string | yes |
depot_id | null or string | yes |
group_id | null or string | yes |
Example
curl -X POST 'https://routes-api.cloud.zoopit.no/v1/service_zones/lookup'
-H 'Authorization: Bearer <token>'
-H 'Content-Type: application/json'
-d '{ ... }'
Try it in the interactive Routes API reference.
Field descriptions, guides and worked examples are in the full reference, available to customers in the Zoopit dashboard under Accounts → Developer.