WooCommerce API: Paging
-
Hi all,
I am attempting to help a client but having problems with what I believe is pagination. From what I can see, the first page on the woocommerce API should be 1 (not 0 indexed) however this does not appear to be working for me.
See example request:
https://meditatemate.com.au/wc-api/v2/orders?status=processing&filter%5Blimit%5D=100&filter%5Bmeta%5D=true&page=1This returns a different result set to:
https://meditatemate.com.au/wc-api/v2/orders?status=processing&filter%5Blimit%5D=100&filter%5Bmeta%5D=true&page=0I thought this may be related to ordering, however in request 1, there is nothing returned on page 2. Can you please confirm if we should be starting with 0 or 1?
The topic ‘WooCommerce API: Paging’ is closed to new replies.