{ "opencollection": "1.0.0", "info": { "name": "VSCO Workspace Brands Discounts API", "version": "v2.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Discounts", "type": "folder" }, "items": [ { "info": { "name": "Get a list of discounts", "type": "http" }, "http": { "method": "GET", "url": "https://tave.io/v2/discount", "params": [ { "name": "sortBy", "value": "", "type": "query", "description": "Sort items in the collection by the given property." } ] }, "docs": "Get a list of discounts" }, { "info": { "name": "Create a discount.", "type": "http" }, "http": { "method": "POST", "url": "https://tave.io/v2/discount", "body": { "type": "json", "data": "{}" } }, "docs": "Create a discount." }, { "info": { "name": "Get a specific discount.", "type": "http" }, "http": { "method": "GET", "url": "https://tave.io/v2/discount/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ULID to perform an action on." } ] }, "docs": "Get a specific discount." }, { "info": { "name": "Delete a specifc discount", "type": "http" }, "http": { "method": "DELETE", "url": "https://tave.io/v2/discount/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ULID to perform an action on." } ] }, "docs": "Delete a specifc discount" } ] } ], "bundled": true }