{ "opencollection": "1.0.0", "info": { "name": "Mews Booking Engine API (Distributor) Account notes Vouchers API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "ClientToken", "value": "{{ClientToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Vouchers", "type": "folder" }, "items": [ { "info": { "name": "Mews Validate", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/distributor/v1/vouchers/validate", "body": { "type": "json", "data": "{}" } }, "docs": "Validate via the Mews Booking Engine (Distributor) API vouchers resource." }, { "info": { "name": "Mews Get All Vouchers", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/vouchers/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all rate vouchers filtered by [Service](https://mews-systems.gitbook.io/connector-api/operations/services/#service), voucher code or voucher identifier. 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 Add Vouchers", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/vouchers/add", "body": { "type": "json", "data": "{}" } }, "docs": "Adds the specified vouchers to the specified [Services](https://mews-systems.gitbook.io/connector-api/operations/services/#service). Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Mews Update Vouchers", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/vouchers/update", "body": { "type": "json", "data": "{}" } }, "docs": "Updates information about the specified vouchers. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Mews Delete Vouchers", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/vouchers/delete", "body": { "type": "json", "data": "{}" } }, "docs": "Delete specified vouchers. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." } ] } ], "bundled": true }