Params
| Name | Type | Requireness | Default value | Description |
|---|---|---|---|---|
| alteration_id | string | required | none | Airbnb alteration id |
Description
Accept a guest's Airbnb alteration request by alteration_id, as received in the reservation_alteration webhook.
Returns request_uid; see the get-request-status method for the result.
This endpoint requires the following scope: airbnb-reservations
Airbnb requests to book and alteration requests
Requires the airbnb-reservations scope, which is granted on request. Direct bookings are unaffected: v2/accept-reservation and v2/decline-reservation still need direct-bookings for them.
v2/accept-reservationandv2/decline-reservationact on an Airbnb request to book whenreservation_codeis an Airbnb reservation inpendingstatus.v2/accept-reservation-alterationandv2/decline-reservation-alterationact on a guest's alteration request inpendingstatus. Sendalteration_idas received in the reservation_alteration webhook.- To decline a request to book, send
decline_reasonand a non-emptymessageto the guest.decline_reasonis one of:dates_not_available: requested dates are not available, the dates are blocked on the calendarnot_a_good_fit: the listing is not a good fit for the guest's needs (children, pets, etc.)waiting_for_better_reservation: waiting for a more attractive reservationnot_comfortable: not comfortable with this guest
- An alteration decline takes no reason and no message.
Result of an Airbnb action
The call is queued: the response holds status and request_uid, and the sample below shows the Airbnb case. Airbnb answers later. Pass request_uid to get-request-status: completed means Airbnb accepted the action, error means the action failed and request_error holds the reason. Usually Airbnb rejected it, but an error also follows an action Airbnb applied when iGMS failed to sync the result, so check the booking before retrying.
{
"status": 0,
"request_uid": "74302303"
}