Skip to content

Common Runtime Type: Order

Back to Index
let Order: {
createdAt: instant
currencyCode: text
deliveries: [{
createdAt: instant
deliveryAddress: {
addressLine1: text
addressLine2: text
attention: text
careOf: text
city: text
countryCode: text
email: text
name: text
phone: text
postalCode: text
state: text
}
deliveryId: uuid
deliveryNumber: text
deliveryState: 'open'|'processing'|'completed'|'cancelled'|'cancelledByOrder'
dynamic: {text->*}
inventoryDate: nothing|instant
inventoryKey: nothing|text
orderLines: [{
description: text|nothing
dynamic: {text->*}
image: text|nothing
orderLineId: uuid
orderLineNumber: text
orderLineTotal: number
productNumber: text
quantity: number
releasedToInvoice: boolean
salesQuantity: number
taxFactor: number
taxTotal: number
unitPrice: number
}]
releasedToInvoice: boolean
shippingPrice: number
shippingTaxFactor: number
shippingTaxTotal: number
shippingTotal: number
tags: {number->text}
}]
dynamic: {text->*}
invoiceAddress: {
addressLine1: text
addressLine2: text
attention: text
careOf: text
city: text
countryCode: text
email: text
name: text
phone: text
postalCode: text
state: text
}
journalEntries: [{
amount: number
invoiceId: uuid|nothing
orderJournalEntryId: uuid
orderJournalEntryType: 'receivable'|'capture'|'clearing'|'fee'
paymentId: uuid|nothing
timestamp: instant
}]
orderId: uuid
orderNumber: text
orderTaxTotal: number
orderTotal: number
tags: {number->text}
taxIncluded: boolean
}
Back to Index