Skip to main content

Get a zone group

GET /v1/zone_groups/{id}

Authentication​

Send a token issued in the Zoopit dashboard as Authorization: Bearer <token>.

Path parameters​

NameTypeRequired
idstringyes

Query parameters​

NameTypeRequired
selectarray of "attributes" | "classification" | "color" | "created_at" | "created_by" | "deleted_at" | "deleted_by" | "depot_id" | "id" | "modified_at" | "modified_by" | "name" | "owners" | "tags"

Responses​

200​

resource: PartialZoneGroupWithId

FieldTypeRequired
attributesobject
colornull or string
namestring
created_atstring
modified_atnull or string
deleted_atnull or string
created_bystring
modified_bynull or string
deleted_bynull or string
ownersarray of string
tagsarray of string
classification"b2b" | "b2c" or null
depot_idnull or string
idstringyes

Example​

curl -X GET 'https://routes-api.cloud.zoopit.no/v1/zone_groups/{id}'
-H 'Authorization: Bearer <token>'

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.