{ "opencollection": "1.0.0", "info": { "name": "Oracle Retail Merchandising Foundation Cloud Service Fulfillment Orders API", "version": "26.1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://identity.oraclecloud.com/oauth2/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Orders", "type": "folder" }, "items": [ { "info": { "name": "List orders", "type": "http" }, "http": { "method": "GET", "url": "https://{host}/MerchServices/MerchRes/v1/orders", "params": [ { "name": "status", "value": "", "type": "query", "description": "Filter by order status" }, { "name": "channelId", "value": "", "type": "query", "description": "Filter by sales channel" }, { "name": "customerId", "value": "", "type": "query", "description": "Filter by customer ID" }, { "name": "fromDate", "value": "", "type": "query" }, { "name": "toDate", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "Returns customer orders with status, line items, and fulfillment details." }, { "info": { "name": "Create an order", "type": "http" }, "http": { "method": "POST", "url": "https://{host}/MerchServices/MerchRes/v1/orders", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new customer order for fulfillment." }, { "info": { "name": "Get an order", "type": "http" }, "http": { "method": "GET", "url": "https://{host}/MerchServices/MerchRes/v1/orders/:orderId", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "Order identifier" } ] }, "docs": "Returns full order details including lines, fulfillment nodes, and payment." }, { "info": { "name": "Update an order", "type": "http" }, "http": { "method": "PATCH", "url": "https://{host}/MerchServices/MerchRes/v1/orders/:orderId", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "Order identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates mutable fields on an order such as shipping address or contact info." }, { "info": { "name": "Cancel an order", "type": "http" }, "http": { "method": "POST", "url": "https://{host}/MerchServices/MerchRes/v1/orders/:orderId/cancel", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "Order identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Cancels an order or selected line items if order is in a cancellable state." } ] } ], "bundled": true }