Headers
-
request-id
string Unique identifier for the API request. Example: f7ecf495-ca1c-4468-a6c2-6ee3f723fa00
Path parameters
-
workspaceId
string Required The identifier of the Workspace
Query parameters
-
limit
string Number of items to return. Default: 10. Maximum: 10000
-
nextToken
string Pagination token to get next page of items
-
trackingRef
string The tracking reference that identifies the Consignment in the user system
GET
/workspaces/{workspaceId}/consignments
curl \
--request GET 'https://api.reelables.com/v1/workspaces/{workspaceId}/consignments' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "request-id: string"
Response examples (200)
{
"nextToken": "string",
"items": [
{
"pieces": {
"total": 42,
"nextToken": "string",
"items": [
{
"trackingRef": "string",
"inFacilities": [
{
"hasExited": true,
"facilityId": "string",
"enteredOn": "2025-05-04T09:42:00Z",
"facilityName": "string",
"exitedOn": "2025-05-04T09:42:00Z",
"userFacilityId": "string"
}
],
"consignmentId": "string",
"id": "string",
"label": {
"bleId": 42,
"nfcId": "string",
"addedOn": "2025-05-04T09:42:00Z"
},
"createdOn": "2025-05-04T09:42:00Z",
"workspaceId": "string"
}
]
},
"trackingRef": "string",
"gateways": {
"nextToken": "string",
"items": [
{
"shortId": "string",
"isStatic": true,
"latitude": 42.0,
"hasPendingCommands": true,
"rssiFilter": "FAR",
"deviceId": "string",
"gatewayId": "string",
"productName": "string",
"addedOn": "2025-05-04T09:42:00Z",
"manufacturer": "string",
"longitude": 42.0
}
]
},
"workspace": {
"name": "string",
"id": "string"
},
"destination": {
"name": "string",
"facility": {
"createdAt": "2025-05-04T09:42:00Z",
"name": "string",
"id": "string",
"workspaceId": "string",
"userFacilityId": "string"
}
},
"id": "string",
"isActive": true,
"deactivated": {
"where": {
"facility": {
"createdAt": "2025-05-04T09:42:00Z",
"name": "string",
"id": "string",
"workspaceId": "string",
"userFacilityId": "string"
}
},
"when": "2025-05-04T09:42:00Z"
},
"activated": {
"where": {
"facility": {
"createdAt": "2025-05-04T09:42:00Z",
"name": "string",
"id": "string",
"workspaceId": "string",
"userFacilityId": "string"
}
},
"when": "2025-05-04T09:42:00Z"
}
}
]
}
Response examples (401)
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
Response examples (403)
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
Response examples (429)
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}