Returns the list of products - only basic info and GUID, using this you can determine the details with another API call. Endpoint supports Paging.
This endpoint has several sections, which are sent only when requested in the include parameter (see Section on demand.
If you state the include=images parameter within the URL, then information about main product image will also be part of the response. For more information about the chapter Product images.
Please note it is better to use List of all products endpoint for getting all products from eshop.
Use productCodes or productGuids request parameter to get the list of specific products. Product codes/GUIDs are separated by a comma. If you use this query parameter, other filters are not applied, and the set of particular products is returned. Please note that these parameters accepts max. 50 product codes/GUIDs in request parameter and cannot be combined.
Product visibility (visible, hidden, only for logged-in users...) - see also Product visibility code list. Optional.
Product type (product, service, bazar...) - see also Product types code list. Optional.
Define the output set of products. Use max. 50 product GUIDs separated by a comma. No additional filters take effect. Cannot be combined with productCodes query parameter.
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products
- https://api.myshoptet.comhttps://api.myshoptet.com/api/products
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X GET \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products?availabilityId=1&availabilityWhenSoldOutId=-2&creationTimeFrom=2017-02-28T17%3A04%3A47%2B0100&creationTimeTo=2028-02-28T17%3A04%3A47%2B0100&visibility=visible&type=product&brandName=Storm&brandCode=storm&defaultCategoryGuid=5c499a23-70ac-11e9-9208-08002774f818&categoryGuid=5c499a23-70ac-11e9-9208-08002774f818&flag=action&include=images&productCodes=15%2FZLU%2C15%2FZEL%2C27%2FXL%2C33%2FFIA%2CDS53437473%2C428&productGuids=356eb81e-d966-11e0-b04f-57a43310b768%2C519d8f84-1609-11f0-bcf6-06999863e34a%2C519d8f84-1609-11f0-bcf6-06999863e34a&supplierGuid=16a67ec6-d957-11e0-b04f-57a43310b768&changeTimeFrom=2017-02-28T17%3A04%3A47%2B0100&changeTimeTo=2028-02-28T17%3A04%3A47%2B0100&itemsPerPage=50&page=3' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'{ "data": { "products": [ … ], "paginator": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }