woocommerce / woocommerce/wc-api-python
wcapi.put with all three paremeters
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 216
- Forks
- 108
- Avg merge
- 6h 34m
- Merged PRs (30d)
- 1
Description
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

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the wcapi.put entry point and reproduce the documented request using the products endpoint, stock_quantity, and sku parameters. Compare the request behavior with the documentation and determine whether the 404 comes from the wrapper or the API. Done means the documented three-parameter call works as described or the discrepancy is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100