V2 pagination

curl

#1

Hey,

I am looking for implementing a paginator for my listing. How can I select or specify page size and page index when querying products using a url
/v2/products/

Best,


#2

Hi @khaled1

You could do the following…

curl -g -X GET https://api.moltin.com/v2/products?page[limit]=10&page[offset]=2 \
     -H "Authorization: Bearer XXXX"

I hope this helps :smile:


#3

Thanks
It helped a lot :slight_smile:


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.