Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Woocommerce API limits AND ussing less resources

I was reading the documentation at:

http://woocommerce.github.io/woocommerce-rest-api-docs/

I am trying to figure out the limits for the API for the following methods

  • $woocommerce->get products/tags
  • $woocommerce->get products/categories
  • $woocommerce->get products/categories
  • $woocommerce->post products/tags
  • $woocommerce->post products/batch

For these methods I want to know how many items I can get or save at once. (Batch save for example I want to save 50 at a time; or for getting products I want to get 50 at a time (per page))

Also I am trying to figure out best practices to use less resources on both consumer of the API and receiver of API. Right now in development I have them both on the same machine and the fan really gets going on my laptop

The majority of work is done in products/batch. I am sending almost 4k items in batches of 50.

like image 281
Chris Muench Avatar asked Dec 20 '25 11:12

Chris Muench


1 Answers

I know a service that uses WooCommerce says that their API calls are rate-limited by IP to 86400 calls per day (one per second on average).

That is their service so implies you can go same or higher for WooCommerce

Source: https://github.com/Paymium/api-documentation#rate-limiting

like image 73
donohoe Avatar answered Dec 24 '25 04:12

donohoe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!