putProductsStockQuantity

Operation Id:
products/stockQuantity/put [Official Documentaction]
Methods

  • products Array<Object>
  • productSizeCodeExternal String
  • stockId Integer
  • productSizeQuantity Number
  • productPurchasePrice Number
  • productPurchasePriceNet Number
Examples

This function sets the stock quantity of a product size with the external code "123456" to 50 for the specified stock ID.

const result = await idosellRequest.putProductsStockQuantity
	.productSizeCodeExternal("123456")
	.stockId(1)
	.productSizeQuantity(50)
	.exec()