{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses stock_items API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "stock_items", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the stock item associated to the reserved stock", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/reserved_stocks/:reservedStockId/stock_item", "params": [ { "name": "reservedStockId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the stock item associated to the reserved stock" }, { "info": { "name": "Retrieve the stock items associated to the SKU", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/skus/:skuId/stock_items", "params": [ { "name": "skuId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the stock items associated to the SKU" }, { "info": { "name": "List all stock items", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_items" }, "docs": "List all stock items" }, { "info": { "name": "Create a stock item", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_items", "body": { "type": "json", "data": "{}" } }, "docs": "Create a stock item" }, { "info": { "name": "Retrieve a stock item", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_items/:stockItemId", "params": [ { "name": "stockItemId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve a stock item" }, { "info": { "name": "Update a stock item", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_items/:stockItemId", "params": [ { "name": "stockItemId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a stock item" }, { "info": { "name": "Delete a stock item", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_items/:stockItemId", "params": [ { "name": "stockItemId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete a stock item" }, { "info": { "name": "Retrieve the stock item associated to the stock line item", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_line_items/:stockLineItemId/stock_item", "params": [ { "name": "stockLineItemId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the stock item associated to the stock line item" }, { "info": { "name": "Retrieve the stock items associated to the stock location", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations/:stockLocationId/stock_items", "params": [ { "name": "stockLocationId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the stock items associated to the stock location" }, { "info": { "name": "Retrieve the stock item associated to the stock reservation", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_reservations/:stockReservationId/stock_item", "params": [ { "name": "stockReservationId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the stock item associated to the stock reservation" } ] } ], "bundled": true }