DaffOrder
import { DaffOrder } from '@daffodil/order'
interface DaffOrder {
customer_id: ID
email: string
created_at: string
updated_at: string
status: string
totals: DaffOrderTotal[]
applied_codes: DaffOrderCoupon[]
items: DaffOrderItem[]
billing_addresses: DaffOrderAddress[]
shipping_addresses: DaffOrderAddress[]
shipments: DaffOrderShipment[]
payment: DaffOrderPayment
invoices: DaffOrderInvoice[]
credits: DaffOrderCredit[]
extra_attributes: any
}
Properties
Name | Type | Description |
---|---|---|
customer_id | ID | |
string | ||
created_at | string | |
updated_at | string | |
status | string | |
totals | DaffOrderTotal[] | |
applied_codes | DaffOrderCoupon[] | |
items | DaffOrderItem[] | |
billing_addresses | DaffOrderAddress[] | |
shipping_addresses | DaffOrderAddress[] | |
shipments | DaffOrderShipment[] | |
payment | DaffOrderPayment | |
invoices | DaffOrderInvoice[] | |
credits | DaffOrderCredit[] | |
extra_attributes | any | The field is set to the platform order object returned by the most recent driver call. No fields are guaranteed here. |