postWmsStocksdocumentsProducts

Operation Id:
wms/stocksdocuments/products/post [Official Documentaction]
Methods

  • products Array<Object>
  • type 'pz'|'pw'|'px'|'rx'|'rw'|'mm'
  • id Integer
  • product Integer
  • size String
  • quantity Integer
  • productPurchasePrice Number
  • locationId Integer
  • locationCode String
  • locationTextId String
Examples

This function updates the stock quantity of a specific product with the size "uniw" and ID 1 to a value of 10.

const result = await idosellRequest.postWmsStocksdocumentsProducts
	.type("pz")
	.id(1)
	.product(33)
	.size("uniw")
	.quantity(10)
	.exec()