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
Body
Required
-
trackingRef
string The tracking reference that identifies the Piece in the user system
Maximum length is
500
. -
label
object Required Additional properties are NOT allowed.
POST
/consignments/{consignmentId}/pieces
curl \
--request POST 'https://api.reelables.com/v1/consignments/{consignmentId}/pieces' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "request-id: string" \
--data '[{"trackingRef":"string","label":{"nfcId":"string"}}]'
Request examples
# Headers
request-id: string
# Payload
[
{
"trackingRef": "string",
"label": {
"nfcId": "string"
}
}
]
Response examples (201)
{
"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"
}
]
}