WinShopAPI docs
ReferenceStock items

List blocking e-shop orders

Returns the e-shop 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-eshop

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-eshop' \  -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,    "quantityBeingCovered": 0,    "quantityCovered": 0  }]