# Product supplies in stock Returns the product supplies in stock for all products in a specific stock, contains GUID, code and quantity in stock for a specific product variant. It is possible to filter the specific GUID of a product, possibly a variant code. The endpoint supports Paging, in case of filtering, the amount of items per page increases. This endpoint supports optional parts using the parameter (see Section on demand). The item is always temporarily returned, however as of 16. 3. 2019 only upon using the parameter. If you defined the parameter within the URL, the response will also contain the time when the last quantity in stock was changed. Endpoint: GET /api/stocks/{stockId}/supplies Version: 1.0.0 Security: shoptetAccessToken, shoptetPrivateApiToken ## Path parameters: - `stockId` (number, required) Example: "1" ## Query parameters: - `productGuid` (string) Example: "0023368f-d97b-11e0-b04f-57a43310b768" - `code` (string) Example: "26/BIL" - `onlyWithClaim` (boolean) whether only products with claim greater than 0 should be returned. Defaults to - `changedFrom` (string) return only product supplies, which amount has been changed since date value of this parameter. It support maximum of 30 days in history. (optional, string). ISO 8601 format ("2017-12-12T22:08:01+0100"). Optional. ## Header parameters: - `Content-Type` (string, required) ## Response 200 fields (application/json): - `data` (object, required) - `data.supplies` (array, required) - `data.supplies.productGuid` (string, required) global unique permanent product identifier - `data.supplies.code` (string, required) unique identification of the product variant. - `data.supplies.amount` (string,null, required) current quantity in stock. - `data.supplies.claim` (string,null, required) requirements on stock quantity. - `data.supplies.location` (string,null) stock position. - `data.supplies.changeTime` (string,null) date and time of last change of stock quantity (ISO 8601 format). - `data.paginator` (object, required) - `data.paginator.totalCount` (integer, required) total number of available records - `data.paginator.page` (integer, required) current page - `data.paginator.pageCount` (integer, required) total available of pages - `data.paginator.itemsOnPage` (integer, required) number of currently returned records - `data.paginator.itemsPerPage` (integer, required) required number of records per page - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced ## Response 404 fields (application/json): - `data` (object,null, required) - `errors` (array,null, required) - `errors.errorCode` (string, required) Short text error identification - `errors.message` (string, required) Descriptive error message - `errors.instance` (string, required) Identification of the entity referenced