Qlik Community

Qlik Sense Cloud Discussions

supergoodfruits
New Contributor

Shopify Pagination Problem next Page REST API

Hi there,

i am using the REST API to connect to my Shopify Data (which is a onlineshop). However I can only get the data of the latest 50 orders- which are on the first page in Shopify. I tried different settings in the pagination but so far nothing worked out and gave me more than the first 50 orders.


Here are my settings of the pagination

Pagination Type: Next token

Next Token parameter name:      pageToken;                (check) Pass via header

Next token path:                          root/nextPageToken   (ckeck) Look in header

Any idea on how to set this pagination correctly?

I am using Qlik Sense Cloud Business.

Thank you in advance,

Carmen

1 Solution

Accepted Solutions
Employee
Employee

Re: Shopify Pagination Problem next Page REST API

Hi Carmen - I am not that famliar with Shopify - but the pagination method maybe offset or next page - instead of next token - I found a post here that describes it.

https://www.demacmedia.com/shopify-commerce/shopify-tutorials/how-to-fetch-all-products-using-shopif...

This webinar may help as well:

https://www.youtube.com/watch?v=ibCACdF_tPo

I use Spotify with the offset pagination around here: the 11 min mark time code

https://youtu.be/ibCACdF_tPo?t=11m8s

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

Regards,

Michael Tarallo (@mtarallo) | Twitter

Qlik

Regards,
Mike Tarallo
Qlik
1 Reply
Employee
Employee

Re: Shopify Pagination Problem next Page REST API

Hi Carmen - I am not that famliar with Shopify - but the pagination method maybe offset or next page - instead of next token - I found a post here that describes it.

https://www.demacmedia.com/shopify-commerce/shopify-tutorials/how-to-fetch-all-products-using-shopif...

This webinar may help as well:

https://www.youtube.com/watch?v=ibCACdF_tPo

I use Spotify with the offset pagination around here: the 11 min mark time code

https://youtu.be/ibCACdF_tPo?t=11m8s

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

Regards,

Michael Tarallo (@mtarallo) | Twitter

Qlik

Regards,
Mike Tarallo
Qlik
Community Browser