I want to change quantity number on specific product after payment receive. And after that I reveave 400 error.
Is it possible to change the stock quantity? Or Am I doing something wrong? I try to do API CALL with url and body
/rest//V1/products/
{
"product": {
"sku": "<skuNumber>",
"extension_attributes": {
"stock_item": {
"qty": 4
}
}
}
}