Skip to main content

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​

NameTypeRequired
offsetnumber
limitnumber
orderarray of array of tuple
wherearray of object
selectarray 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.