{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses flex_promotions API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "flex_promotions", "type": "folder" }, "items": [ { "info": { "name": "List all flex promotions", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/flex_promotions" }, "docs": "List all flex promotions" }, { "info": { "name": "Create a flex promotion", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/flex_promotions", "body": { "type": "json", "data": "{}" } }, "docs": "Create a flex promotion" }, { "info": { "name": "Retrieve a flex promotion", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/flex_promotions/:flexPromotionId", "params": [ { "name": "flexPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve a flex promotion" }, { "info": { "name": "Update a flex promotion", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/flex_promotions/:flexPromotionId", "params": [ { "name": "flexPromotionId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a flex promotion" }, { "info": { "name": "Delete a flex promotion", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/flex_promotions/:flexPromotionId", "params": [ { "name": "flexPromotionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete a flex promotion" } ] } ], "bundled": true }