Skip to main content

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?​

optional costPrice?: number

Defined in: type/OrderItem.ts:53

The cost price of the OrderItem at the time the order was placed


customerPrice?​

optional customerPrice?: number

Defined in: type/OrderItem.ts:51

The calculated customerPrice of the OrderItem at the time the order was placed


discount?​

optional discount?: number

Defined in: type/OrderItem.ts:55

The discount of the OrderItem


eanCode?​

optional eanCode?: 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?​

optional manufacturer?: string

Defined in: type/OrderItem.ts:35

The manufacturer of the product of the OrderItem


manufacturerCode?​

optional manufacturerCode?: string

Defined in: type/OrderItem.ts:37

The manufacturerCode of the product of the OrderItem


minimumQuantity?​

optional minimumQuantity?: 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?​

optional notes?: 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?​

optional originalPrice?: number

Defined in: type/OrderItem.ts:41

The original price of the OrderItem, before applying any discounts


package?​

optional package?: string

Defined in: type/OrderItem.ts:69

The package of the product of the OrderItem


packageUnit?​

optional packageUnit?: string

Defined in: type/OrderItem.ts:71

The package unit of the product of the OrderItem


packageUnitQuantity?​

optional packageUnitQuantity?: string

Defined in: type/OrderItem.ts:73

The package unit quantity of the product of the OrderItem


parentOrderItemId?​

optional parentOrderItemId?: 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?​

optional priceNet?: 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?​

optional priceTotalNet?: number

Defined in: type/OrderItem.ts:49

The total price of the OrderItem including tax


product?​

optional product?: Product

Defined in: type/OrderItem.ts:83

product field


productId?​

optional productId?: number

Defined in: type/OrderItem.ts:19

The productId of the OrderItem


purchaseMinimumQuantity?​

optional purchaseMinimumQuantity?: number

Defined in: type/OrderItem.ts:77

The purchase minimum quantity of the product of the OrderItem


purchaseUnit?​

optional purchaseUnit?: 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?​

optional requestDate?: 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?​

optional sources?: Source[]

Defined in: type/OrderItem.ts:81

sources field


supplier?​

optional supplier?: string

Defined in: type/OrderItem.ts:31

The supplier of the product of the OrderItem


supplierCode?​

optional supplierCode?: string

Defined in: type/OrderItem.ts:33

The supplierCode of the product of the OrderItem


tax?​

optional tax?: 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?​

optional unit?: 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