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โ
| Field | Type | Required | Description |
|---|---|---|---|
unit_price | number | Yes | Price per unit in the booking's currency, 0 or more. Per-person and per-time extras multiply it. |
notify_customer | boolean | No | Defaults 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โ
| Status | When |
|---|---|
403 | The booking belongs to another supplier |
404 | The booking or the extra line doesn't exist |
422 | unit_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 }'