Skip to content

Get an item

GET /api/bookings/v4/{id}/items/{item_id}

Returns the details of a specific item within a booking.

ParameterTypeRequiredDescription
idintegerYesThe booking ID
item_idintegerYesThe item ID
Terminal window
curl -X GET \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
https://www.transdirect.com.au/api/bookings/v4/123456/items/1
{
"id": 1,
"description": "Carton",
"weight": 5,
"length": 40,
"width": 30,
"height": 20,
"quantity": 1
}
FieldTypeDescription
idintegerUnique item ID
descriptionstringPackaging type
weightnumberWeight in kilograms
lengthnumberLength in centimetres
widthnumberWidth in centimetres
heightnumberHeight in centimetres
quantityintegerNumber of identical items
Status codeMeaning
401Unauthorised
404Booking or item not found