-
Notifications
You must be signed in to change notification settings - Fork 52
Category: Reservations
Andy Mac edited this page Apr 28, 2018
·
1 revision
Reservation data for one reservation.
airbnb.getReservation({
token: 'faketoken3sDdfvtF9if5398j0v5nui',
id: 909878797
})
// returns a single reservation in the mobile app format (JSON)
Returns a list of reservations in the same format as above, ordered by latest update
airbnb.getReservations({
token: 'faketoken3sDdfvtF9if5398j0v5nui',
offset: 0,
limit: 10
})
// returns an array of reservations in the mobile app format, ordered by latest update (JSON)
Batch call for grabbing a list of reservations by ID.
airbnb.getReservationsBatch({
token: 'faketoken3sDdfvtF9if5398j0v5nui',
ids: [98769876, 98769543, 98756745]
})
// returns an array of reservations in the new format (JSON)