{ "opencollection": "1.0.0", "info": { "name": "apaleo Platform Availability Booking API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://identity.apaleo.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Booking", "type": "folder" }, "items": [ { "info": { "name": "Return a list of bookings.", "type": "http" }, "http": { "method": "GET", "url": "https://api.apaleo.com/booking/v1/bookings", "params": [ { "name": "pageNumber", "value": "", "type": "query" }, { "name": "pageSize", "value": "", "type": "query" } ] }, "docs": "Return a list of bookings." }, { "info": { "name": "Create a booking with one or more reservations.", "type": "http" }, "http": { "method": "POST", "url": "https://api.apaleo.com/booking/v1/bookings", "body": { "type": "json", "data": "{}" } }, "docs": "Create a booking with one or more reservations." }, { "info": { "name": "Return a single booking by id.", "type": "http" }, "http": { "method": "GET", "url": "https://api.apaleo.com/booking/v1/bookings/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Return a single booking by id." }, { "info": { "name": "Modify the booker and related details of a booking.", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.apaleo.com/booking/v1/bookings/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Modify the booker and related details of a booking." }, { "info": { "name": "Return a list of reservations matching the filter criteria.", "type": "http" }, "http": { "method": "GET", "url": "https://api.apaleo.com/booking/v1/reservations", "params": [ { "name": "propertyIds", "value": "", "type": "query" }, { "name": "status", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Return a list of reservations matching the filter criteria." }, { "info": { "name": "Return a single reservation by id.", "type": "http" }, "http": { "method": "GET", "url": "https://api.apaleo.com/booking/v1/reservations/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Return a single reservation by id." }, { "info": { "name": "Check in a reservation.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.apaleo.com/booking/v1/reservation-actions/:id/checkin", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Check in a reservation." }, { "info": { "name": "Check out a reservation.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.apaleo.com/booking/v1/reservation-actions/:id/checkout", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Check out a reservation." }, { "info": { "name": "Return a list of blocks.", "type": "http" }, "http": { "method": "GET", "url": "https://api.apaleo.com/booking/v1/blocks" }, "docs": "Return a list of blocks." }, { "info": { "name": "Create a block of rooms for a group.", "type": "http" }, "http": { "method": "POST", "url": "https://api.apaleo.com/booking/v1/blocks" }, "docs": "Create a block of rooms for a group." }, { "info": { "name": "Return bookable offers for the given property, dates, and occupancy.", "type": "http" }, "http": { "method": "GET", "url": "https://api.apaleo.com/booking/v1/offers", "params": [ { "name": "propertyId", "value": "", "type": "query" }, { "name": "arrival", "value": "", "type": "query" }, { "name": "departure", "value": "", "type": "query" }, { "name": "adults", "value": "", "type": "query" } ] }, "docs": "Return bookable offers for the given property, dates, and occupancy." } ] } ], "bundled": true }