Count consignments
GET /v1/consignments/count
The number of consignments matching where.
Authentication
Send a token issued in the Zoopit dashboard as Authorization: Bearer <token>.
Query parameters
| Name | Type | Required |
|---|---|---|
offset | number | |
limit | number | |
order | array of array of tuple | |
where | array of object | |
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: number
Example
curl -X GET 'https://orders-api.cloud.zoopit.no/v1/consignments/count'
-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.