{ "opencollection": "1.0.0", "info": { "name": "Connector Account notes Loyalty programs API", "version": "v1" }, "items": [ { "info": { "name": "Loyalty programs", "type": "folder" }, "items": [ { "info": { "name": "Get all loyalty programs", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/loyaltyPrograms/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all loyalty programs of the enterprise, optionally filtered by specific loyalty program identifiers, activity states, or other filter parameters. 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": "Add loyalty programs", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/loyaltyPrograms/add", "body": { "type": "json", "data": "{}" } }, "docs": "Adds loyalty programs to the enterprise. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Update loyalty programs", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/loyaltyPrograms/update", "body": { "type": "json", "data": "{}" } }, "docs": "Updates information about the specified loyalty programs. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property)." }, { "info": { "name": "Delete loyalty programs", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/loyaltyPrograms/delete", "body": { "type": "json", "data": "{}" } }, "docs": "Deletes loyalty programs. Note that a loyalty program containing active memberships cannot be deleted." } ] } ], "bundled": true }