WinShopAPI docs
ReferenceStock items

List blocking reservations

Returns the reservations 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/reservations

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/reservations' \  -H 'Authorization: Bearer <access-token>'
[  {    "customerCode": "string",    "customerName": "string",    "date": "2019-08-24T14:15:22Z",    "deliveryDate": "2019-08-24T14:15:22Z",    "documentId": 0,    "documentState": 0,    "formNumber": "string",    "internalNumber": 0,    "itemId": 0,    "itemNumber": 0,    "quantity": 0  }]