Skip to content

Snapshot of all prices across all price lists

Request

Using this endpoint, you can get list of all products with basic data such as product guid, id, code and its prices across all price lists.

Response will be in jsonlines format with each product taking one line of output file. See Product price list price snapshot schema for more details.

The job is the same as the one behind /api/products/snapshot/pricelists, so a snapshot already running on that path will make this one answer 409.

Result file is compressed using GZIP.

Security
shoptetAccessToken or shoptetPrivateApiToken
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X GET \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/price-lists/prices/snapshot \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

Accepted

Bodyapplication/json
dataobject
errorsArray of objects or null(Errors)
metadataobject(Metadata)
Response
{ "data": { "jobId": "ad24xod" }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }