{ "opencollection": "1.0.0", "info": { "name": "Affiliate Apartment Discounts API", "version": "1.1.0" }, "items": [ { "info": { "name": "Discounts", "type": "folder" }, "items": [ { "info": { "name": "Get a single discount for an apartment by discount id", "type": "http" }, "http": { "method": "GET", "url": "https://external-api.holidu.com/v2/discount", "params": [ { "name": "providerApartmentId", "value": "", "type": "query" }, { "name": "provider", "value": "", "type": "query" }, { "name": "holiduApartmentId", "value": "", "type": "query" }, { "name": "discountId", "value": "", "type": "query" } ] }, "docs": "Get a single discount for an apartment by discount id" }, { "info": { "name": "Create or update a single discount for an apartment", "type": "http" }, "http": { "method": "POST", "url": "https://external-api.holidu.com/v2/discount", "params": [ { "name": "providerApartmentId", "value": "", "type": "query" }, { "name": "provider", "value": "", "type": "query" }, { "name": "holiduApartmentId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update a single discount for an apartment" }, { "info": { "name": "Get discounts for an apartment", "type": "http" }, "http": { "method": "GET", "url": "https://external-api.holidu.com/v2/discounts", "params": [ { "name": "providerApartmentId", "value": "", "type": "query" }, { "name": "provider", "value": "", "type": "query" }, { "name": "holiduApartmentId", "value": "", "type": "query" } ] }, "docs": "Get discounts for an apartment" } ] } ], "bundled": true }