Skip to main content
e-CROSS APIs use token-based pagination to handle large datasets. This means that instead of returning all results in a single response, the API returns a token that can be used to retrieve the next page of results. To use pagination, you need to make your first request without the nextPageToken query parameter. If the response includes a nextPageToken attribute, use it in the nextPageToken query parameter for the next request. Repeat until no nextPageToken is returned. Example of how to use pagination:
# First page
curl -X GET 'https://product.api.e-cross.tech/ext/merchant/skus' \
  -H "Authorization: Bearer ${YOUR_TOKEN}"

# Next page (using token from previous response)

curl -X GET "https://product.api.e-cross.tech/ext/merchant/skus?nextPageToken=${TOKEN_FROM_PREVIOUS_RESPONSE}" \
 -H "Authorization: Bearer ${YOUR_TOKEN}"