title: Getting "per_page must be between 1 (inclusive) and 100 (inclusive)" while requesting the categories in WooCommerce
body: <p><a href="https://example.com/wp-json/wc/v2/products/categories/?per_page=150&amp;consumer_key=ck_991580c4b11ae619bef763195f67c311aa2bc&amp;consumer_secret=cs_07cacbb022086cf185beb0145fe0e5db01c57&amp;currentLanguage=en" rel="nofollow noreferrer">https://example.com/wp-json/wc/v2/products/categories/?per_page=150&amp;consumer_key=ck_991580c4b11ae619bef763195f67c311aa2bc&amp;consumer_secret=cs_07cacbb022086cf185beb0145fe0e5db01c57&amp;currentLanguage=en</a> </p>
  
  <pre><code>   {
          "code": "rest_invalid_param",
          "message": "Invalid parameter(s): per_page",
          "data": {
              "status": 400,
              "params": {
                  "per_page": "per_page must be between 1 (inclusive) and 100 (inclusive)"
              }
          }
      }
  </code></pre>
  
  <p>I am trying to get the 150 categories from the woo-commerce using the wp JSON API. I can't make it 100.is there any way to fix this using the hooks.</p>