{ "opencollection": "1.0.0", "info": { "name": "Mews Booking Engine API (Distributor) Account notes Products API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "ClientToken", "value": "{{ClientToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Products", "type": "folder" }, "items": [ { "info": { "name": "Mews Get Prices", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/distributor/v1/products/getPrices", "body": { "type": "json", "data": "{}" } }, "docs": "Get Prices via the Mews Booking Engine (Distributor) API products resource." }, { "info": { "name": "Mews Get Product Pricing", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/products/getPricing", "body": { "type": "json", "data": "{}" } }, "docs": "Returns prices for a given product for a specified time interval. UTC timestamps must correspond to the start boundary of a time unit, e.g. 00:00 converted to UTC for a time unit of \"Day\". Other timestamps are not permitted. The __maximum size of time interval__ depends on the service's time unit: 100 hours if hours, 100 days if days, or 24 months if months. For more information about time units, see [Time unit](https://mews-systems.gitbook.io/connector-api/concepts/time-units). This operation s" }, { "info": { "name": "Mews Update Product Pricing", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/products/updatePrice", "body": { "type": "json", "data": "{}" } }, "docs": "Updates the prices for a given product. You can make multiple price updates with one API call, and for each one specify the price amount per [Time unit](https://mews-systems.gitbook.io/connector-api/concepts/time-units) and the time interval for which it applies. The price will be updated for all service time units that the specified time interval intersects. It is not permitted to update historical prices older than specified by `EditableHistoryInterval`. This operation supports [Portfolio Acce" }, { "info": { "name": "Mews Get All Products", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/products/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all products offered together with the specified services. Note 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 Delete Products", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/products/delete", "body": { "type": "json", "data": "{}" } }, "docs": "Deletes specified products. This operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." } ] } ], "bundled": true }