Scroll documents

Use all the features of search API to perform filters.

In the first request, the X-VTEX-MD-TOKEN token will be obtained in the header. This token must be passed to the next request in the query string _token parameter. The token has a timeout of 10 minutes, which refreshes after each request.

ATTENTION: To inform the number of documents per request use the query string parameter _size, which has the maximum value of 1000.

After the token is obtained it is no longer necessary to send the filter or document size per page parameters. You only need to resend the token until the document collection is empty.

First request example:

/dataentities/CL/scroll?isCluster=true&_size=250&_fields=email,firstName

After the first request, retrieve the token in the header X-VTEX-MD-TOKEN and make the next requests.

Example of subsequent requests:

/dataentities/CL/scroll?_token=tokenvalueexample
Language
Authentication
URL
Click Try It! to start a request and see the response here!