Skip to main content

Set Booking Extra Price

Set the price of an extra priced when booked on one booking. Use it for a line whose price is still to follow (price_pending: true), or to change a price staff typed.

Endpointโ€‹

PATCH /v1/bookings/{id}/extras/{extraLineId}

extraLineId is the id of the booked extra in the line's extras array on Get Booking.

Authenticationโ€‹

Requires an API key with the bookings:write scope.

Request Bodyโ€‹

FieldTypeRequiredDescription
unit_pricenumberYesPrice per unit in the booking's currency, 0 or more. Per-person and per-time extras multiply it.
notify_customerbooleanNoDefaults to true: the customer gets the booking-updated email with the new total.

Responseโ€‹

Success (200 OK)โ€‹

Returns the updated Booking object. The extra has price_pending: false, and the booking's totals include it.

Errorsโ€‹

StatusWhen
403The booking belongs to another supplier
404The booking or the extra line doesn't exist
422unit_price is missing, negative or above the maximum, or the extra has a fixed price

Exampleโ€‹

curl -X PATCH "https://app.equipdash.com/api/v1/bookings/1338/extras/912" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "unit_price": 45 }'