Get a consignment
GET /v1/consignments/{id}
Authentication
Send a token issued in the Zoopit dashboard as Authorization: Bearer <token>.
Path parameters
| Name | Type | Required |
|---|---|---|
id | string | yes |
Query parameters
| Name | Type | Required |
|---|---|---|
select | array of "attributes" | "barcode_2d" | "barcode_linear" | "cargo" | "carrier" | "created_at" | "created_by" | "deleted_at" | "deleted_by" | "delivery" | "id" | "modified_at" | "modified_by" | "owners" | "recipient" | "sender" | "tags" | "tracking_number" |
Responses
200
resource: PartialConsignmentWithId
| Field | Type | Required |
|---|---|---|
attributes | object | |
delivery | object | |
created_at | string | |
modified_at | null or string | |
deleted_at | null or string | |
created_by | string | |
modified_by | null or string | |
deleted_by | null or string | |
owners | array of string | |
tags | array of string | |
tracking_number | null or string | |
barcode_linear | null or string | |
barcode_2d | null or string | |
sender | object | |
recipient | object | |
carrier | object | |
cargo | array of object | |
id | string | yes |
Example
curl -X GET 'https://orders-api.cloud.zoopit.no/v1/consignments/{id}'
-H 'Authorization: Bearer <token>'
Try it in the interactive Orders API reference.
Field descriptions, guides and worked examples are in the full reference, available to customers in the Zoopit dashboard under Accounts → Developer.