Headers
-
request-id
string Unique identifier for the API request. Example: f7ecf495-ca1c-4468-a6c2-6ee3f723fa00
Path parameters
-
consignmentId
string Required The identifier of the Consignment
GET
/consignments/{consignmentId}/pieces
curl \
--request GET 'https://api.reelables.com/v1/consignments/{consignmentId}/pieces' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "request-id: string"
Response examples (200)
{
"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"
}
]
}
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 (404)
{
"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"
}
]
}