Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a webhook, ruby doc incorrect? #46

Open
kickbk opened this issue Feb 11, 2020 · 0 comments
Open

Deleting a webhook, ruby doc incorrect? #46

kickbk opened this issue Feb 11, 2020 · 0 comments

Comments

@kickbk
Copy link

kickbk commented Feb 11, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant