{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses discount_engines API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "discount_engines", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the discount engine associated to the discount engine item", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/discount_engine_items/:discountEngineItemId/discount_engine", "params": [ { "name": "discountEngineItemId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the discount engine associated to the discount engine item" }, { "info": { "name": "List all discount engines", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/discount_engines" }, "docs": "List all discount engines" }, { "info": { "name": "Retrieve a discount engine", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/discount_engines/:discountEngineId", "params": [ { "name": "discountEngineId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve a discount engine" }, { "info": { "name": "Retrieve the discount engine associated to the market", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/markets/:marketId/discount_engine", "params": [ { "name": "marketId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the discount engine associated to the market" } ] } ], "bundled": true }