wcapi.put with all three paremeters
还没有人认领这个 Issue。
评估
调研方向
从 wcapi.put 入口开始,使用 products 端点以及 stock_quantity 和 sku 参数重现文档中所述的请求。将请求行为与文档进行比较,并确定 404 是来自 wrapper 还是 API。完成标准是文档中所述的三参数调用能够按描述工作,或者该差异已得到明确记录。
由索引模型根据 Issue 内容生成。
描述
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

- 主要语言
- Python
- 星标
- 216
- 派生
- 108
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
woocommerce/wc-api-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
woocommerce/wc-api-python#108 ·
-
难度 4/5 3-5 天 新手友好度 32/100
woocommerce/wc-api-python#106 ·
-
难度 4/5 3-5 天 新手友好度 25/100
woocommerce/wc-api-python#105 ·
-
难度 5/5 一周以上 新手友好度 15/100
woocommerce/wc-api-python#104 ·
-
Json Formatting未关闭
难度 2/5 1-3 小时 新手友好度 35/100
woocommerce/wc-api-python#103 ·
查看 woocommerce/wc-api-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
good first issue No-AI
难度 2/5 1-3 小时 新手友好度 69/100
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
-
🐛 Bug: Calendar work items cannot be opened on mobile可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 75/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复