Create stock items
Creates the stock items for every combination of `warehouseId` and `productId` that does not have one yet, and returns the rows it created (201, `Location` header set). Returns 200 with no body when every combination already existed. 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.
warehouseId?array<>productId?array<>response?unknownapplication/octet-streamcurl -X POST 'https://<your-instance>/api/stock-items' \ -H 'Authorization: Bearer <access-token>'nullStock items
Previous Page
Search stock items POST
Returns one page of stock items matching the filter. A stock item is one product's holding in one warehouse. Body is a `PaginationRequest` — see the *Filtering & pagination* concept in the developer docs. Sortable and limitable fields depend on the instance's data-grid view. Requires `Permissions.StockItems.View`.