List blocking documents
Returns the unprocessed documents holding part of this stock item. Blocked goods are quantities that physically sit in the warehouse but are already promised elsewhere, so they are not available to sell. Requires `Permissions.StockItems.View`.
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
stockItemId*integerint32application/json- response
[index: integer]?curl -X GET 'https://<your-instance>/api/stock-items/0/blocked-goods/documents' \ -H 'Authorization: Bearer <access-token>'[ { "customerOrWarehouseCode": "string", "customerOrWarehouseName": "string", "date": "2019-08-24T14:15:22Z", "deliveryDate": "2019-08-24T14:15:22Z", "documentId": 0, "documentType": "string", "formNumber": "string", "internalNumber": 0, "itemId": 0, "itemNumber": 0, "quantity": 0 }]Update a stock item PUT
Updates the stock item's editable fields — such as its minimum and maximum stock levels and shelf location — and returns the stored row. Quantities move through documents, not through this endpoint. Requires `Permissions.StockItems.View`.
List blocking customer orders GET
Returns the customer orders holding part of this stock item. Blocked goods are quantities that physically sit in the warehouse but are already promised elsewhere, so they are not available to sell. Requires `Permissions.StockItems.View`.