Operation Id:
orders/profitMargin/put [Official Documentaction]
Methods
- orders Array<Object>
- orderSerialNumber Integer
- products Array<Object>
- errors Object
- isProductsErrors Boolean
Examples
This function updates the profit margin and profit margin net for a specific order and product.
const result = await idosellRequest.putOrdersProfitMargin
.orderSerialNumber(3)
.products([{"productIdent":{"identValue":"33","productIdentType":"id"},"sizeId":"uniw","productProfitMargin":12.3,"productProfitMarginNet":10}])
.exec()