API V2.0: Difference between revisions
Jump to navigation
Jump to search
Sorenjensen (talk | contribs) No edit summary |
Sorenjensen (talk | contribs) No edit summary |
||
| Line 251: | Line 251: | ||
} | } | ||
] | ] | ||
= Endpoints = | = Endpoints = | ||
| Line 331: | Line 304: | ||
== Properties == | == 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 -> Booking 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. | |||
= Webhooks = | = Webhooks = | ||