Update inventory
POST
header
x-api-key<token>Organization-scoped API key with scope metadata.
application/json- body
productId*stringLength
1 <= lengthvariantId?stringquantity*integerRange
-9007199254740991 <= value <= 9007199254740991adjustment?stringValue in
"set""increment""decrement"Success
application/json- response
success*booleancurl -X POST 'https://api-prood.vercel.app/v1/admin/inventory' \ -H 'Content-Type: application/json' \ -d '{ "productId": "string", "quantity": -9007199254740991}'Example Response
{ "success": true}