{ "opencollection": "1.0.0", "info": { "name": "ready2order Public Account Token Discount API", "version": "R2-2026.30.2" }, "items": [ { "info": { "name": "Discount", "type": "folder" }, "items": [ { "info": { "name": "List discounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.ready2order.com/v1/discounts", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Returns all discounts for the account, including inactive ones." }, { "info": { "name": "Create a discount", "type": "http" }, "http": { "method": "POST", "url": "https://api.ready2order.com/v1/discounts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Creates a new discount." }, { "info": { "name": "Get a discount", "type": "http" }, "http": { "method": "GET", "url": "https://api.ready2order.com/v1/discounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID to find" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Returns a single discount by its ID." }, { "info": { "name": "Update a discount", "type": "http" }, "http": { "method": "PUT", "url": "https://api.ready2order.com/v1/discounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID to find" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Updates an existing discount." }, { "info": { "name": "Delete a discount", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.ready2order.com/v1/discounts/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID to find" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Deletes a discount." } ] } ], "bundled": true }