Skip to main content

Customer

Represents a customer in the system.

type Customer {
billToCompany: String
billToEmail: Email
billToName: String
billToPhone: String
billToSameAsShipTo: Boolean!
billingAddress: Address
brand: Brand!
brandId: ID!
createdAt: ISO8601DateTime!
email: Email
id: ID!
orders(
after: String
before: String
first: Int
last: Int
): OrderConnection
retailer: Boolean!
shipToCompany: String
shipToEmail: Email
shipToName: String
shipToPhone: String
shippingAddress: Address
updatedAt: ISO8601DateTime!
}

Fields

Customer.billToCompany ● String scalar

Customer.billToEmail ● Email scalar

Customer.billToName ● String scalar

Customer.billToPhone ● String scalar

Customer.billToSameAsShipTo ● Boolean! non-null scalar

Customer.billingAddress ● Address object

Customer.brand ● Brand! non-null object

Customer.brandId ● ID! non-null scalar

Customer.createdAt ● ISO8601DateTime! non-null scalar

Customer.email ● Email scalar

Customer.id ● ID! non-null scalar

Customer.orders ● OrderConnection object

Returns the orders associated with the customer.

Customer.orders.after ● String scalar

Returns the elements in the list that come after the specified cursor.

Customer.orders.before ● String scalar

Returns the elements in the list that come before the specified cursor.

Customer.orders.first ● Int scalar

Returns the first n elements from the list.

Customer.orders.last ● Int scalar

Returns the last n elements from the list.

Customer.retailer ● Boolean! non-null scalar

Customer.shipToCompany ● String scalar

Customer.shipToEmail ● Email scalar

Customer.shipToName ● String scalar

Customer.shipToPhone ● String scalar

Customer.shippingAddress ● Address object

Customer.updatedAt ● ISO8601DateTime! non-null scalar

Returned By

customer query

Member Of

CustomerConnection object ● CustomerEdge object