Type
Order
Back to IndexDefinition
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 returnedQuantity: number skus: [{ orderLineSkuId: uuid reservedQuantity: number skuNumber: text totalQuantity: number totalReturnedQuantity: number unitQuantity: number }] taxFactor: nothing|number taxTotal: number unitPrice: number }] releasedToInvoice: boolean shippingDescription: nothing|text shippingPrice: number shippingProductNumber: nothing|text shippingTax: number shippingTaxFactor: nothing|number shippingTotal: number tags: [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 } invoices: [{ capturedTotal: number createdAt: instant invoiceAddress: { addressLine1: text addressLine2: text attention: text careOf: text city: text countryCode: text email: text name: text phone: text postalCode: text state: text } invoiceId: uuid invoiceLines: [{ description: nothing|text discounts: [{ amount: number description: nothing|text discountId: uuid invoiceLineDiscountId: uuid }] invoiceLineId: uuid invoiceLineNumber: number net: number originalInvoiceLineId: nothing|uuid productNumber: nothing|text quantity: nothing|number referenceId: uuid referenceType: 'none'|'orderLine'|'return'|'delivery' tax: number total: number }] invoiceNetTotal: number invoiceNumber: text invoiceTaxTotal: number invoiceTotal: number isCancelled: boolean }] journalEntries: [{ amount: number invoiceId: uuid|nothing orderJournalEntryId: uuid orderJournalEntryType: 'receivable'|'capture'|'clearing'|'fee' paymentId: uuid|nothing timestamp: instant }] orderId: uuid orderNumber: text orderState: 'pending'|'confirmed'|'cancelled' orderTaxTotal: number orderTotal: number tags: [text] taxIncluded: boolean}
Availability
Discount | Rule | Reactor |
---|---|---|