Update order via Rest API
-
In the documentation you have provided how to update an order using the API
curl -X PUT https://example.com/wp-json/wc/v1/orders/154 \
-u consumer_key:consumer_secret \
-H “Content-Type: application/json” \
-d ‘{
“status”: “completed”
}’However, you have only provided how to update status. I was able to update the payment details and order meta as well. But I am not able to edit existing items in the order or update the items such as its quantity or price in the order. How can I do this? Thanks.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Update order via Rest API’ is closed to new replies.