APi Paging not working for Orders in version > 2019-XX

Solved
Shopify Partner
13 0 0

Im trying to get from the Admin APi the orders using the new API version 2019-07 and Im not getting the next page Link in the responce header

If Im using the old API it is working using the Page param at the URL if Im using the Products API I have no issue Orders

 

API - not getting paging Link in responce header

https://.......myshopify.com/admin/api/2019-07/orders.json?limit=250&created_at_min=2019-04-08T11:47:14+03:00&status=any&fields=order_number,order_status_url,total_price,currency,email,test Orders API - Paging works

https://.......myshopify.com/admin/orders.json?limit=250&created_at_min=2019-04-08T11:47:14+03:00&status=any&fields=order_number,order_status_url,total_price,currency,email,test&page=4 Products

API call paging works 

https://.......myshopify.com/admin/api/2019-07/products.json?limit=250&created_at_min=2019-04-08T11:47:14+03:00&status=any
Thanks

StoreYa - Automate Your Marketing Site - www.StoreYa.com
0 Likes

Success.

Shopify Staff
Shopify Staff
1555 79 240

Cursor pagination orders was released in 2019-10. I'm not certain why the versionless call is working for you, since that should be defaulting to 2019-04. At any rate, try specifying 2019-10 in your calls.

 

Cheers.

0 Likes
Highlighted
Shopify Partner
13 0 0

I tried using the 2019-10 api version and dont get any paging as well 

Thanks

StoreYa - Automate Your Marketing Site - www.StoreYa.com
0 Likes
Shopify Staff
Shopify Staff
1555 79 240

Would you mind sharing an X-Request-Id response header? I can look a bit closer with that information.

 

Cheers.

0 Likes