Changes the amount of the assortment position in existing order. User must have rights to edit orders.
Namespace: Resto.Front.Api.V3.Editors
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
Syntax
C#
INewOrderItemProductStub ChangeOrderItemProductAmount( decimal amount, IExistingOrderItemProductStub orderItemProduct )
Parameters
- amount
- Type: SystemDecimal
For positions with weight: new weight in defined measure unit. For positions without weight: new amount of the position. Can be from 0.001 to 999.999 - orderItemProduct
- Type: Resto.Front.Api.V3.EditorsIExistingOrderItemProductStub
Order item that represents the assortment position and which amount will be changed.
Return Value
Type: INewOrderItemProductStubSee Also