wc-api-ruby icon indicating copy to clipboard operation
wc-api-ruby copied to clipboard

Deleting a webhook, ruby doc incorrect?

Open kickbk opened this issue 5 years ago • 0 comments

Really enjoying developing integration with the WC api right now. Very clean coded and documented API.

Not sure why, but the Ruby method you suggest running to delete a webhook will not work unless you add force: true to the call like so:

woocommerce.delete("webhooks/123", {force: true}).parsed_response

This is due to the very clear requirement you added to your delete method.

kickbk avatar Feb 11 '20 20:02 kickbk