Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAddProductToOrderWithPlaceholder

Extended payload to create a temporary placeholder while adding a product to an order

export
interface

IAddProductToOrderWithPlaceholder

Hierarchy

Index

Properties

Optional Barcode

Barcode: undefined | string

Children

Children: ChildOrderLine[]

Optional Description

Description: undefined | string

Optionally override the default description that is generated for the new OrderLine. If specified, this OrderLine will not be stacked on any existing OrderLines in the Order of the same Product (unless they use the same Description). Instead, a new OrderLine will be created.

Optional ForceCreate

ForceCreate: undefined | false | true

Optional ForceNewLine

ForceNewLine: undefined | false | true

This will always create a new line, regardless of whether a line with the same product ID was found in the order.

Optional GroupID

GroupID: undefined | string

LineActionType

LineActionType: LineActionTypes

OrderID

OrderID: number

Entity type: Order

Optional ParentID

ParentID: undefined | number

Specify this field to add the new line as a child of the specified parent Entity type: OrderLine

Optional Placeholder

Optional ProductID

ProductID: undefined | number

Entity type: Product

Optional QuantityOrdered

QuantityOrdered: undefined | number

Max: 9000

Optional StockLabelID

StockLabelID: undefined | number

Entity type: StockLabel

Optional UnitPriceInTax

UnitPriceInTax: undefined | number

If the product allows its price to be modified, you can specify the desired price using this field.