WinShopAPI docs
ReferenceStock items

List blocking internal orders

Returns the internal 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`.

GET
/api/stock-items/{stockItemId}/blocked-goods/orders-internal

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Path Parameters

stockItemId*integer
Formatint32

Response Body

application/json
  1. response
[index: integer]?
curl -X GET 'https://<your-instance>/api/stock-items/0/blocked-goods/orders-internal' \  -H 'Authorization: Bearer <access-token>'
[  {    "date": "2019-08-24T14:15:22Z",    "deliveryDate": "2019-08-24T14:15:22Z",    "destinationWarehouseName": "string",    "destinationWarehouseNumber": "string",    "documentId": 0,    "documentState": 0,    "formNumber": "string",    "internalNumber": 0,    "itemId": 0,    "itemNumber": 0,    "quantity": 0,    "quantityBeingCovered": 0,    "quantityCovered": 0  }]