{ "opencollection": "1.0.0", "info": { "name": "Mews Booking Engine API (Distributor) Account notes Services API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "ClientToken", "value": "{{ClientToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Services", "type": "folder" }, "items": [ { "info": { "name": "Mews Get Availability", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/distributor/v1/services/getAvailability", "body": { "type": "json", "data": "{}" } }, "docs": "Get Availability via the Mews Booking Engine (Distributor) API services resource." }, { "info": { "name": "Mews Get Pricing", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/distributor/v1/services/getPricing", "body": { "type": "json", "data": "{}" } }, "docs": "Get Pricing via the Mews Booking Engine (Distributor) API services resource." }, { "info": { "name": "Mews Get Promotions", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/distributor/v1/services/getPromotions", "body": { "type": "json", "data": "{}" } }, "docs": "Get Promotions via the Mews Booking Engine (Distributor) API services resource." }, { "info": { "name": "Mews Get All Services", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all services offered by the enterprise.\nNote 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)." }, { "info": { "name": "Mews Update Service Availability", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/updateAvailability", "body": { "type": "json", "data": "{}" } }, "docs": "Updates the number of available resources in [Resource category](https://mews-systems.gitbook.io/connector-api/operations/resources/#resource-category) by a certain amount (relative adjustment). Note that availabilities are defined per time unit, so when the server receives the UTC interval, it first converts it to enterprise timezone and updates the availability on all time units that the interval intersects. It's not allowed to update past availabilities outside of `EditableHistoryInterval`, f" }, { "info": { "name": "Mews Get Service Availability", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/getAvailability", "body": { "type": "json", "data": "{}" } }, "docs": "Returns availability of a bookable service for a specified time interval including applied availability adjustments. Availability will be returned for all service time units that the specified time interval intersects. So, for example, an interval `1st Jan 23:00 UTC - 1st Jan 23:00 UTC` will result in one price for `2nd Jan`, while Interval `1st Jan 23:00 UTC - 2nd Jan 23:00 UTC` will result in two prices for `2nd Jan` and `3rd Jan` (assuming a time unit period of \"Day\"). UTC timestamps must cor" }, { "info": { "name": "Mews Get Service Availability (ver 2024-01-22)", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/getAvailability/2024-01-22", "body": { "type": "json", "data": "{}" } }, "docs": "Returns selected availability and occupancy metrics of a bookable service for a specified time interval, similar to [the availability & occupancy report](https://help.mews.com/s/article/Availability-Occupancy-report). Availability will be returned for all service time units that the specified time interval intersects. So, for example, an interval `1st Jan 23:00 UTC - 1st Jan 23:00 UTC` will result in one time unit for `2nd Jan`, while Interval `1st Jan 23:00 UTC - 2nd Jan 23:00 UTC` will result " } ] } ], "bundled": true }