Interface: OrderItem
Defined in: type/OrderItem.ts:9
Object class for OrderItem
Properties
class
class:
OrderItemClass
Defined in: type/OrderItem.ts:17
The class of the orderItem. Either product, incentive, surcharge, postage, payment
costPrice?
optionalcostPrice?:number
Defined in: type/OrderItem.ts:53
The cost price of the OrderItem at the time the order was placed
customerPrice?
optionalcustomerPrice?:number
Defined in: type/OrderItem.ts:51
The calculated customerPrice of the OrderItem at the time the order was placed
discount?
optionaldiscount?:number
Defined in: type/OrderItem.ts:55
The discount of the OrderItem
eanCode?
optionaleanCode?:string
Defined in: type/OrderItem.ts:39
The eanCode of the product of the OrderItem
id
id:
number
Defined in: type/OrderItem.ts:11
The autoincerment ID for the OrderItem
isBonus
isBonus:
YesNo
Defined in: type/OrderItem.ts:63
Is the OrderItem a bonusItem?
manufacturer?
optionalmanufacturer?:string
Defined in: type/OrderItem.ts:35
The manufacturer of the product of the OrderItem
manufacturerCode?
optionalmanufacturerCode?:string
Defined in: type/OrderItem.ts:37
The manufacturerCode of the product of the OrderItem
minimumQuantity?
optionalminimumQuantity?:number
Defined in: type/OrderItem.ts:65
The minimum quantity of the product of the OrderItem
name
name:
string
Defined in: type/OrderItem.ts:29
The name of the product of the OrderItem
notes?
optionalnotes?:string
Defined in: type/OrderItem.ts:27
Remarks by the customer for the OrderItem
orderId
orderId:
number
Defined in: type/OrderItem.ts:13
The ID of the Order the OrderItem belongs to
originalPrice?
optionaloriginalPrice?:number
Defined in: type/OrderItem.ts:41
The original price of the OrderItem, before applying any discounts
package?
optionalpackage?:string
Defined in: type/OrderItem.ts:69
The package of the product of the OrderItem
packageUnit?
optionalpackageUnit?:string
Defined in: type/OrderItem.ts:71
The package unit of the product of the OrderItem
packageUnitQuantity?
optionalpackageUnitQuantity?:string
Defined in: type/OrderItem.ts:73
The package unit quantity of the product of the OrderItem
parentOrderItemId?
optionalparentOrderItemId?:number
Defined in: type/OrderItem.ts:21
The ID of the parent OrderItem
price
price:
number
Defined in: type/OrderItem.ts:43
The calculated price per unit excluding tax
priceNet?
optionalpriceNet?:number
Defined in: type/OrderItem.ts:47
The calculated price per unit including tax
priceTotal
priceTotal:
number
Defined in: type/OrderItem.ts:45
The total price of the OrderItem excluding tax
priceTotalNet?
optionalpriceTotalNet?:number
Defined in: type/OrderItem.ts:49
The total price of the OrderItem including tax
product?
optionalproduct?:Product
Defined in: type/OrderItem.ts:83
product field
productId?
optionalproductId?:number
Defined in: type/OrderItem.ts:19
The productId of the OrderItem
purchaseMinimumQuantity?
optionalpurchaseMinimumQuantity?:number
Defined in: type/OrderItem.ts:77
The purchase minimum quantity of the product of the OrderItem
purchaseUnit?
optionalpurchaseUnit?:number
Defined in: type/OrderItem.ts:75
The purchase unit of the product of the OrderItem
quantity
quantity:
number
Defined in: type/OrderItem.ts:23
The quantity of the OrderItem
requestDate?
optionalrequestDate?:string
Defined in: type/OrderItem.ts:79
The requested delivery date for this orderline
sku
sku:
string
Defined in: type/OrderItem.ts:25
The SKU of the product of the OrderItem
sources?
optionalsources?:Source[]
Defined in: type/OrderItem.ts:81
sources field
supplier?
optionalsupplier?:string
Defined in: type/OrderItem.ts:31
The supplier of the product of the OrderItem
supplierCode?
optionalsupplierCode?:string
Defined in: type/OrderItem.ts:33
The supplierCode of the product of the OrderItem
tax?
optionaltax?:number
Defined in: type/OrderItem.ts:57
The total tax of the OrderItem
taxCode
taxCode:
TaxCode
Defined in: type/OrderItem.ts:61
The tax code of the OrderItem
taxPercentage
taxPercentage:
number
Defined in: type/OrderItem.ts:59
The tax percentage of the OrderItem
unit?
optionalunit?:number
Defined in: type/OrderItem.ts:67
The unit of the product of the OrderItem
uuid
uuid:
string
Defined in: type/OrderItem.ts:15
The UUID for the OrderItem