Complete products snapshot

Many addons need to retrieve all products to perform their tasks. Until now, the only possible way was to iteratively call product detail endpoint for each product one by one. To make this task easier, we have introduced a new endpoint List of all products.

Retrieval of all the product details might take a longer time and produce rather large output. That is why we have introduced asynchronous endpoints. When an asynchronous endpoint is called, a background job is submitted and only its id returned. Once the job is completed, a webhook is called and the response can be downloaded.

In case of List of all products endpoint, the data is stored using JSON Lines. Each line contains one product in JSON format. The same data and schema as the product detail is used. Event the optional sections requestable by parameter ?include= are identical.

Post navigation