Operation Id:
products/stocks/put [Official Documentaction]
Methods
- products Array<Object>
- ident Object
- sizes Array<Object>
- settings Object
- error Object
Examples
This function updates the stock quantity of a specific size for a given product ident.
const result = await idosellRequest.putProductsStocks
.ident({"identType":"id","identValue":"13"})
.sizes([{"ident":{"identType":"id","identValue":"1"},"quantity":{"stocks":[{"quantity_operation":{"operation":"set","quantity":20},"stock_id":1}]}}])
.exec()