]
= Prices Endpoints =
To get price setup rules, include the "includePriceRules" parameter in GET /properties like this /api/v2/properties?includePriceRules=true= Bookings ==
A room can have up to 16 prices. === GET /bookings ===
In Get bookings matching specified criteria. === POST /bookings === Create or update bookings. === DELETE /bookings === Delete bookings by id. === GET /bookings/messages === Get messages for a booking. === POST /bookings/messages === Send messages or mark them as read. === PATCH /bookings/messages === Make changes in all messages in a selection. === GET /bookings/invoices === Get invoices for bookings. == Inventory == === GET /inventory/rooms/offers === Get offer based on specified criteria. === GET /inventory/rooms/availability === Get the control panel, these can be set under Prices availability status of dates. === GET /inventory/rooms/calendar === Get's per day values from the calendar. === POST /inventory/rooms/calendar === Modify per day calendar values. == Properties == === GET /properties === Get properties matching specified criteria. === POST /properties === Create or modify properties. === DELETE /properties === Delete properties by id. === DELETE /properties/rooms === Delete rooms of properties by id. == Accounts == === GET /accounts Get accounts and sub-accounts. === POST /accounts === Create or modify accounts. == Webhooks == === POST Webhooks - bookings === The webhook payload sent to your URL from the booking webhook found here: Settings -> Properties -> Access -> Daily Price RulesBooking Webhook == Channels - settings === GET /channels/settings === Get channel specific settings. === POST /channels/settings === Modify channel settings. == Channels - Airbnb == === GET /channels/airbnb/users === Get all Airbnb user ids connected to an account. === GET /channels/airbnb/listings === Get all Airbnb listings for a specified Airbnb user id. === POST /channels/airbnb === Perform actions at Airbnb. == Channels - Booking.com == === POST /channels/booking === Perform actions at Booking.com. === GET /channels/booking/reviews === Get reviews from Booking.com. == Channels - Stripe == === POST /channels/stripe === Perform actions at Stripe. === GET /channels/stripe/paymentMethods === Get payment methods for a booking from Stripe. === GET /channels/stripe/charges === Get charges for a booking from Stripe.
In the API these can be accessed through GET and POST /inventory/calendar
{
"data": [
{
"calendar": [
{
"price1": 100,
"price2": 300,
"price3": 200,
...
}
]
}
]
}
= Webhooks =