{ "opencollection": "1.0.0", "info": { "name": "Octobat Coupons API", "version": "2.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Coupons", "type": "folder" }, "items": [ { "info": { "name": "List coupons", "type": "http" }, "http": { "method": "GET", "url": "https://apiv2.octobat.com/coupons" }, "docs": "List coupons" }, { "info": { "name": "Create a coupon", "type": "http" }, "http": { "method": "POST", "url": "https://apiv2.octobat.com/coupons", "body": { "type": "json", "data": "{}" } }, "docs": "Create a coupon" }, { "info": { "name": "Retrieve a coupon", "type": "http" }, "http": { "method": "GET", "url": "https://apiv2.octobat.com/coupons/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Retrieve a coupon" }, { "info": { "name": "Update a coupon", "type": "http" }, "http": { "method": "PATCH", "url": "https://apiv2.octobat.com/coupons/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a coupon" }, { "info": { "name": "Delete a coupon", "type": "http" }, "http": { "method": "DELETE", "url": "https://apiv2.octobat.com/coupons/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete a coupon" }, { "info": { "name": "Activate a coupon", "type": "http" }, "http": { "method": "PATCH", "url": "https://apiv2.octobat.com/coupons/:id/activate", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Activate a coupon" }, { "info": { "name": "Deactivate a coupon", "type": "http" }, "http": { "method": "PATCH", "url": "https://apiv2.octobat.com/coupons/:id/unactivate", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Deactivate a coupon" } ] } ], "bundled": true }