Update Extra
Update an extra. Partial updates are supported โ only the fields you send change. Price or name changes affect future bookings only; existing bookings keep their snapshots.
Endpointโ
PATCH /v1/extras/{id}
Authenticationโ
Requires an API key with the products:write scope.
Request Bodyโ
Accepts the same fields as Create Extra, all optional. Set active to false to hide an extra everywhere without deleting it.
For a rental extra, omit rental_price to keep its current price. Send a number to set a price per borrowed item, or null to return to the linked rental rate. Changes apply to new bookings.
Responseโ
Success (200 OK)โ
Returns the updated Extra object.
Exampleโ
curl -X PATCH "https://app.equipdash.com/api/v1/extras/3" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "price": 7.5 }'