Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

wcapi.put with all three paremeters

Open
#66 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api

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.

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
image

Dominant language
Python
Stars
216
Forks
108
Avg merge
6h 34m
Merged PRs (30d)
1

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from woocommerce/wc-api-python

All issues in woocommerce/wc-api-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.