{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses inventory_stock_locations API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "inventory_stock_locations", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the inventory stock locations associated to the inventory model", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_models/:inventoryModelId/inventory_stock_locations", "params": [ { "name": "inventoryModelId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the inventory stock locations associated to the inventory model" }, { "info": { "name": "List all inventory stock locations", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_stock_locations" }, "docs": "List all inventory stock locations" }, { "info": { "name": "Create an inventory stock location", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_stock_locations", "body": { "type": "json", "data": "{}" } }, "docs": "Create an inventory stock location" }, { "info": { "name": "Retrieve an inventory stock location", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_stock_locations/:inventoryStockLocationId", "params": [ { "name": "inventoryStockLocationId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve an inventory stock location" }, { "info": { "name": "Update an inventory stock location", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_stock_locations/:inventoryStockLocationId", "params": [ { "name": "inventoryStockLocationId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an inventory stock location" }, { "info": { "name": "Delete an inventory stock location", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_stock_locations/:inventoryStockLocationId", "params": [ { "name": "inventoryStockLocationId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete an inventory stock location" }, { "info": { "name": "Retrieve the inventory stock location associated to the shipment", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId/inventory_stock_location", "params": [ { "name": "shipmentId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the inventory stock location associated to the shipment" }, { "info": { "name": "Retrieve the inventory stock locations associated to the stock location", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations/:stockLocationId/inventory_stock_locations", "params": [ { "name": "stockLocationId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the inventory stock locations associated to the stock location" } ] } ], "bundled": true }