Skip to main content

CustomerTopCustomer

A top customer by orders.

type CustomerTopCustomer {
id: ID!
lastOrderDate: DateTime
name: String!
totalAmount: Float!
totalOrders: Int!
}

Fields​

CustomerTopCustomer.id ● ID! non-null scalar​

The unique ID of this record.

CustomerTopCustomer.lastOrderDate ● DateTime scalar​

The date of the last order.

CustomerTopCustomer.name ● String! non-null scalar​

The name of the customer.

CustomerTopCustomer.totalAmount ● Float! non-null scalar​

The total amount ordered.

CustomerTopCustomer.totalOrders ● Int! non-null scalar​

How many orders the customer placed.

Member Of​

CustomerStatistics object