Skip to main content

CustomerOrder

An order as the customer sees it in a list.

type CustomerOrder {
branchAddressId: String
branchLabel: String
createdAt: DateTime!
currency: String
id: ID!
itemCount: Int!
orderNumber: String
shippingAddress: String
status: String!
totalAmount: Float!
}

Fields​

CustomerOrder.branchAddressId ● String scalar​

The ID of the branch the order was placed for. Empty for orders at the customer level.

CustomerOrder.branchLabel ● String scalar​

The name of that branch.

CustomerOrder.createdAt ● DateTime! non-null scalar​

When the record was created.

CustomerOrder.currency ● String scalar​

ISO 4217 currency code.

CustomerOrder.id ● ID! non-null scalar​

The unique ID of this record.

CustomerOrder.itemCount ● Int! non-null scalar​

How many lines the order has.

CustomerOrder.orderNumber ● String scalar​

The order number.

CustomerOrder.shippingAddress ● String scalar​

The delivery address.

CustomerOrder.status ● String! non-null scalar​

The status of the order.

CustomerOrder.totalAmount ● Float! non-null scalar​

The order total.

Member Of​

CustomerDashboard object ● CustomerOrderConnection object