{ "opencollection": "1.0.0", "info": { "name": "BookingEngineApi Account notes Products API", "version": "v1" }, "items": [ { "info": { "name": "Products", "type": "folder" }, "items": [ { "info": { "name": "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": "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": "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": "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 }