Update product count on a physical stocktaking sheet.

Note! This API call should be used only in single-client mode (if your API script or application is the only one updating the quantities). If you have several applications that need to update quantities simultaneously, use incrementStocktakingReading instead.

For related API calls, see getStocktakings, getStocktakingReadings and saveStocktaking.

Input parameters

Parameter name Description Possible value Required
stocktakingID    Integer  yes  
productID#    Integer  yes  
countPcs#      yes  
comment#    String