Update a booking item
PUT /api/v5/bookings/{id}/items/{item_id}
Updates the given item line (description, weight in kg, dimensions in cm, quantity); omitted fields keep their existing value. Recalculates the booking total weight. Requires an API key and booking ownership. Not permitted on Multipick bookings.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
123Numeric ID of the item line within the booking.
The booking ID.
Request Body
Section titled “Request Body ”object
Package type or contents description (e.g. “Carton”).
Item weight in kg.
Item length in cm.
Item width in cm.
Item height in cm.
Number of identical items of these dimensions.
Existing booking item id to update; omit to add a new item.
Responses
Section titled “ Responses ”Booking item
object
Booking item identifier.
Package type or contents description.
Item weight in kg.
Item length in cm.
Item width in cm.
Item height in cm.
Number of identical items of these dimensions.
Invalid item mutation
object
Single error message describing the failure.
Missing or invalid API key
Item not found
object
Single error message describing the failure.