Closed thivapraba closed 3 years ago
The issue is before consumer_key
it should be ?
and not a /
since consumer key are params and not part of the URL. So your URL should be https://staging/wp-json/wc/v3/orders/1977?consumer_key=123&consumer_secret=456
.
Closing the issue, but feel free to reply back if it does not solve it, or there are more errors.
I am trying to update the order status through Woocommerce REST API but i egt 404 error and could not archieve this even via Postman. I am using Axios to perform request in VUE.js. I could not realize in which part I am doing wrong.
This is my request
axios.put('https://staging/wp-json/wc/v3/orders/1977/consumer_key=123&consumer_secret=456', {status: "completed"});
Any suggestions please...