{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer Core Addresses Orders API", "version": "4.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Orders", "type": "folder" }, "items": [ { "info": { "name": "List all orders", "type": "http" }, "http": { "method": "GET", "url": "https://{organization}.commercelayer.io/api/orders" }, "docs": "List all orders" }, { "info": { "name": "Create an order", "type": "http" }, "http": { "method": "POST", "url": "https://{organization}.commercelayer.io/api/orders", "body": { "type": "json", "data": "{}" } }, "docs": "Create an order" }, { "info": { "name": "Retrieve an order", "type": "http" }, "http": { "method": "GET", "url": "https://{organization}.commercelayer.io/api/orders/:orderId", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource unique identifier." } ] }, "docs": "Retrieve an order" }, { "info": { "name": "Update an order", "type": "http" }, "http": { "method": "PATCH", "url": "https://{organization}.commercelayer.io/api/orders/:orderId", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource unique identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update order attributes or trigger order state transitions (e.g. _place, _approve, _cancel) by setting the corresponding trigger attribute to true." }, { "info": { "name": "Delete an order", "type": "http" }, "http": { "method": "DELETE", "url": "https://{organization}.commercelayer.io/api/orders/:orderId", "params": [ { "name": "id", "value": "", "type": "path", "description": "The resource unique identifier." } ] }, "docs": "Delete an order" } ] } ], "bundled": true }