Support » Plugin: WooCommerce » WooCommerce REST API per_page limit

  • Hi

    When trying to get all tags in the Store by below code – $client->get('products/tags', ['per_page' => 1000]); , it was throwing error as in the screenshot. By default, it’s returning 10 numbers if no limit passed.

    When passing the limit, up to 100 it’s working fine. Is there a maximum limit for a single request or can I get all the list in a single request.?

    Screenshot 2020-03-18 at 4.17.05 PM.png

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce REST API per_page limit’ is closed to new replies.