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

wcapi.put with all three paremeters #66

Open
edvinassss98 opened this issue Apr 1, 2021 · 0 comments
Open

wcapi.put with all three paremeters #66

edvinassss98 opened this issue Apr 1, 2021 · 0 comments

Comments

@edvinassss98
Copy link

Hello, by reading documentation i saw that you can pass all three parameters into put method.
response = wcapi.put('products', {"stock_quantity": 100}, params={"sku":'A-002'}).json()
So if i understood correctly it should filter all products and return the one which has sku parameter and update that products stock_quantity. but i am getting 404
image

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