I’m trying to update a product stock amount via the API but it’s not working.
The JSON I’m using is {“amount”:“77”}
and the response is:
{StatusCode: 200, ReasonPhrase: ‘OK’, Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
Date: Sat, 18 Jul 2015 08:25:13 GMT
Server: nginx
Content-Length: 17
Content-Type: application/json
Expires: -1
Last-Modified: Sat, 18 Jul 2015 08:25:13 GMT
}}
But the stock is still remains at zero.
Have I missed something?
Our specialists can examine this issue on your server. If you are interested, please PM me
Are you saying it should be working?
I'm getting a response of {“product_id”:36} after the PUT, which looks correct but nothing is updated.