Customer
Represents a customer in the system.
type Customer {
billToCompany: String
billToEmail: Email
billToName: String
billToPhone: String
billToSameAsShipTo: Boolean!
billingAddress: Address
brand: Brand @deprecated
brandId: ID @deprecated
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 common
Customer.billToEmail ● Email scalar common
Customer.billToName ● String scalar common
Customer.billToPhone ● String scalar common
Customer.billToSameAsShipTo ● Boolean! non-null scalar common
Customer.billingAddress ● Address object common
Customer.brand ● Brand deprecated object common
DEPRECATED
This field will be removed in the future. Brand is becoming a product-only attribute.
Customer.brandId ● ID deprecated scalar common
DEPRECATED
This field will be removed in the future. Brand is becoming a product-only attribute.
Customer.createdAt ● ISO8601DateTime! non-null scalar common
Customer.email ● Email scalar common
Customer.id ● ID! non-null scalar common
Customer.orders ● OrderConnection object common
Returns the orders associated with the customer.
Customer.orders.after ● String scalar common
Returns the elements in the list that come after the specified cursor.
Customer.orders.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
Customer.orders.first ● Int scalar common
Returns the first _n_ elements from the list.
Customer.orders.last ● Int scalar common
Returns the last _n_ elements from the list.
Customer.retailer ● Boolean! non-null scalar common
Customer.shipToCompany ● String scalar common
Customer.shipToEmail ● Email scalar common
Customer.shipToName ● String scalar common
Customer.shipToPhone ● String scalar common
Customer.shippingAddress ● Address object common
Customer.updatedAt ● ISO8601DateTime! non-null scalar common
Returned By
customer query
Member Of
CustomerConnection object ● CustomerEdge object
Implemented By
ProductPriceable union