{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses line_item_options API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "line_item_options", "type": "folder" }, "items": [ { "info": { "name": "List all line item options", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/line_item_options" }, "docs": "List all line item options" }, { "info": { "name": "Create a line item option", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/line_item_options", "body": { "type": "json", "data": "{}" } }, "docs": "Create a line item option" }, { "info": { "name": "Retrieve a line item option", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/line_item_options/:lineItemOptionId", "params": [ { "name": "lineItemOptionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve a line item option" }, { "info": { "name": "Update a line item option", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/line_item_options/:lineItemOptionId", "params": [ { "name": "lineItemOptionId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a line item option" }, { "info": { "name": "Delete a line item option", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/line_item_options/:lineItemOptionId", "params": [ { "name": "lineItemOptionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete a line item option" }, { "info": { "name": "Retrieve the line item options associated to the line item", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/line_items/:lineItemId/line_item_options", "params": [ { "name": "lineItemId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the line item options associated to the line item" }, { "info": { "name": "Retrieve the line item options associated to the order", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/line_item_options", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the line item options associated to the order" } ] } ], "bundled": true }