Skip to Content
Vuesho

Customer

A registered customer.

typeCustomer implements Node

Fields

  1. fields
id*ID!
name*String!

The customer's full name.

email?StringDeprecated

The customer's email address.

Use contact instead.

contact?

Contact information of the customer.

orders*

Orders placed by this customer.

Usages

Member of
SearchResult
Returned by
QUERYcustomer
Field of
Order.customer
SDL
type Customer implements Node {
  id: ID!
  name: String!
  email: String @deprecated(reason: "Use `contact` instead.")
  contact: ContactInfo
  orders(status: OrderStatus, first: Int = 10): [Order!]!
}