Using this endpoint, you can get list of all products with detailed info of each product (like in Product Detail endpoint) asynchronously. See how Asynchronous requests work on our developer's portal.
Response will be in jsonlines format with each product taking one line of output file.
One product in response has the same format as product detail response. See Product snapshot schema for more details.
This endpoint has several sections, which are exported only when requested in the include parameter (see Section on demand).
| Include parameter | Meaning |
|---|---|
| images | Export will also contain the list of all product images. For more information about the chapter Product images. |
| variantParameters | Export will also contain a field of variant parameters and a variant description, as they are visible to customers. |
| allCategories | Export will also contain information on all the categories that the product was assigned into |
| flags | Details on product designation |
| descriptiveParameters | Export will also contain descriptive parameters of the product |
| measureUnit | Export will also contain measure unit info of every variant. |
| surchargeParameters | Export will also contain surcharge parameters of the product. |
| setItems | Export will also contain items, products, in set. |
| filteringParameters | Export will also contain filtering parameters of the product. |
| recyclingFee | Export will also contain recycling fee. |
| consumptionTax | Export will also contain consumption tax. Requires the "Consumption tax" module to be enabled on the current e-shop. |
| warranty | Export will also contain product warranty. |
| sortVariants | Product variants will be sorted as in administration. |
| gifts | List of gifts (variants) related to product |
| alternativeProducts | The response will also contain alternative products. |
| relatedProducts | The response will also contain related products. |
| relatedVideos | The response will also contain related videos. |
| relatedFiles | The response will also contain related files. |
| perStockAmounts | The response will also contain amounts/claims per individual stocks. Requires the "stock" module to be enabled on the current e-shop. |
| perPricelistPrices | The response will also contain prices per individual price lists. |
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.
Result file is compressed using GZIP.
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.
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.
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products/snapshot
- https://api.myshoptet.comhttps://api.myshoptet.com/api/products/snapshot
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X GET \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products/snapshot?include=images%2CvariantParameters%2CallCategories%2Cflags%2CdescriptiveParameters%2CmeasureUnit%2CsurchargeParameters%2CsetItems%2CfilteringParameters%2CrecyclingFee%2CconsumptionTax%2Cwarranty%2CsortVariants%2Cgifts%2CalternativeProducts%2CrelatedProducts%2CrelatedVideos%2CrelatedFiles%2CperStockAmounts%2CperPricelistPrices&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&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&supplierGuid=16a67ec6-d957-11e0-b04f-57a43310b768&changeTimeFrom=2017-02-28T17%3A04%3A47%2B0100&changeTimeTo=2028-02-28T17%3A04%3A47%2B0100' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'{ "data": { "jobId": "ad24xod" }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }