Update Product’s warehouse on-hand quantity

Am trying to update a product’s warehouse on-hand quantity using php api. I tried multiple ways but couldn’t update it.
curl_setopt($ch, CURLOPT_URL, "https://api.ordoro.com/product/SKU/warehouse/WAREHOUSE);
Where should I pass my new on-hand quantity?

Hey @Srini
Could you please post the entire request with the body? Also, in the response from our API there should be a header called x-api-request-id, which you can post here that will help us debug the request on our end.