Solved

Order list with REST API GET API

babyorgano
Tourist
6 0 3

when I passing page_info parameter with created_at_min parameter in order list REST API then I am get this response."created_at_min":"created_at_min cannot be passed when page_info is present.

Screenshot_10.png

Accepted Solution (1)
jazz-jay
Shopify Expert
96 14 17

This is an accepted solution.

Hi,

 

When you make the first request, include the created_at_min parameter or any other parameter you need. Then to make paginated request, just include the page_info link that is returned in the response header.

banned

View solution in original post

Replies 5 (5)

jazz-jay
Shopify Expert
96 14 17

Hi,

 

Just use the page_info for paginated results, you don't need to add the created_at_min parameter in the request.

banned
babyorgano
Tourist
6 0 3

Hello Jazz-Jay,
So you're saying that no any other parameters work with page_info in the rest api?

jazz-jay
Shopify Expert
96 14 17

This is an accepted solution.

Hi,

 

When you make the first request, include the created_at_min parameter or any other parameter you need. Then to make paginated request, just include the page_info link that is returned in the response header.

banned
babyorgano
Tourist
6 0 3

Hi,
Okay, thanks for directing my attention to that.
Thank you

babyorgano
Tourist
6 0 3

Hey Jazz-Jay,

Thanks a lot,

It is functional.
I looked through many documents and blogs online, but I couldn't find a solution. Thank you once more for your assistance in finding an easy solution.

Thanks!