Skip to content

Remove an item

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

Removes an item from a booking. This action cannot be undone.

ParameterTypeRequiredDescription
idintegerYesThe booking ID
item_idintegerYesThe item ID to remove
Terminal window
curl -X DELETE \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
https://www.transdirect.com.au/api/bookings/v4/123456/items/1

A successful response returns a 200 status code with a confirmation message.

{
"message": "Item removed successfully."
}
Status codeMeaning
401Unauthorised — invalid credentials or API key
404Not found — the booking or item does not exist, or does not belong to your account