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