woocommerce / woocommerce/wc-api-php

Put request stop working

Open
#349 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
PHP
Stars
546
Forks
158
Avg merge
3h 21m
Merged PRs (30d)
2

Description

Hello guys,

since last woocommerce update all my put request are no longer working, I thought it was the firewall, then the security plugin, then the server, I deactivate all and the same, error 405 method not allowed.

"PUT /wp-json/wc/v3/orders/145178 HTTP/1.1" 405 251 "-" "WooCommerce API Client-PHP/3.1.0"

get and post request work like always

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the PUT request to /wp-json/wc/v3/orders/145178 with WooCommerce API Client-PHP/3.1.0 and compare it with the working GET and POST requests. Investigate the source handling request methods and the WooCommerce update context; done means PUT order updates no longer return HTTP 405.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.