kloon / WooCommerce-REST-API-Client-Library

A PHP wrapper for the WooCommerce REST API
GNU General Public License v3.0
356 stars 175 forks source link

WooCommerce REST API Order Update issue - response code 201 #235

Open pkhutal opened 6 years ago

pkhutal commented 6 years ago

Hello Team,

We are creating a Native Mobile App using Woo Commerce REST API for our eCommerce Store. We were able to fetch,update Products,Orders and Customers using the REST API Auth.

Everything is working quite well except that we are getting **HTTP response code 201 instead of 200. Like when we are updating an order the order is successfully updated on server but its returning HTTP response code 201. App or any system only considers the operations to be successful when we get response code 200. But as we are getting 201.**

The same code is working fine for our another websites for which we created apps ( using same source code.) We have already mentioned the above problem to this particular website hosting provider but they are saying this is WooCommerce Issue.

Kindly assist us, how can we solve this problem and make our app live as soon as possible.

Thank you for your support!

Regards, Pallavi