{ "opencollection": "1.0.0", "info": { "name": "Connector Account notes Reservations API", "version": "v1" }, "items": [ { "info": { "name": "Reservations", "type": "folder" }, "items": [ { "info": { "name": "Get reservation channel manager details", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/getChannelManagerDetails", "body": { "type": "json", "data": "{}" } }, "docs": "Returns channel manager-related details for the specified reservations. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Get all reservations (ver 2023-06-06)", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/getAll/2023-06-06", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all reservations within scope of the Access Token, filtered according to the specified parameters. This operation uses [Pagination](https://mews-systems.gitbook.io/connector-api/guidelines/pagination) and supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property).\n" }, { "info": { "name": "Get all reservations (ver 2017-04-12)", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Use [Get all reservations (ver 2023-06-06)](https://mews-systems.gitbook.io/connector-api/operations/reservations#get-all-reservations-ver-2023-06-06)." }, { "info": { "name": "Price reservations", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/price", "body": { "type": "json", "data": "{}" } }, "docs": "Returns prices of reservations with the specified parameters.\r\nNote that the operation doesn't check the maximum capacity of requested resource category. Requesting person counts above the capacity will return prices for the maximum available capacity.\r\n\r\nThis operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Add reservations", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/add", "body": { "type": "json", "data": "{}" } }, "docs": "Adds the specified reservations as a single group. If `GroupId` is specified, adds the reservations to an already existing group. Note that all reservations linked to an availability block must belong to the same reservation group." }, { "info": { "name": "Update reservations", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/update", "body": { "type": "json", "data": "{}" } }, "docs": "Updates information about the specified reservations. Note that if any of the fields are sent as `null`, it won't clear the field in Mews. If the `Value` within the object is sent as `null`, the field will be cleared in Mews. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Confirm reservation", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/confirm", "body": { "type": "json", "data": "{}" } }, "docs": "Marks all specified reservations as `Confirmed`. Succeeds only if all confirmation conditions are met (the reservations have the `Optional` state). Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Start reservation", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/start", "body": { "type": "json", "data": "{}" } }, "docs": "Marks a reservation as `Started` (= checked in). Succeeds only if all starting conditions are met (the reservation has the `Confirmed` state, does not have start set to future, has an inspected room assigned etc). Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Process reservation", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/process", "body": { "type": "json", "data": "{}" } }, "docs": "Marks a reservation as `Processed` (= checked out). Succeeds only if all processing conditions are met (the reservation has the `Started` state, balance of all reservation members is zero etc). Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property).\n### Conditions\n- Reservation has already been checked in.\n- Reservation isn't alredy in `Processed` state.\n- Reservation can't be checked out sooner than last day of planned stay." }, { "info": { "name": "Cancel reservation", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/cancel", "body": { "type": "json", "data": "{}" } }, "docs": "Cancels all reservation with specified identifiers. Succeeds only if the reservations are cancellable. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Update reservation customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/updateCustomer", "body": { "type": "json", "data": "{}" } }, "docs": "Updates customer of a reservation. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Update reservation interval", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/updateInterval", "body": { "type": "json", "data": "{}" } }, "docs": "Updates reservation interval (start, end or both). Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Add reservation companion", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/addCompanion", "body": { "type": "json", "data": "{}" } }, "docs": "Adds a customer as a companion to the reservation. Succeeds only if there is space for the new companion (count of current companions is less than `AdultCount + ChildCount`). Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Delete reservation companion", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/deleteCompanion", "body": { "type": "json", "data": "{}" } }, "docs": "Removes customer companionship from the reservation. Note that the customer profile stays untouched, only the relation between the customer and reservation is deleted. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Add reservation product", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/addProduct", "body": { "type": "json", "data": "{}" } }, "docs": "Adds a new product order of the specified product to the reservation." }, { "info": { "name": "Get all reservation items", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/reservations/getAllItems", "body": { "type": "json", "data": "{}" } }, "docs": "Use orderItems/getAll." } ] } ], "bundled": true }