Customer
ObjectFields returned for customer.
Fields
- CustomerAddressConnection!
addresses The addresses associated with the customer.
- DateTime!
createdAt The date and time when the customer was created.
- CustomerGroupConnection!
customerGroups Retrieves a paged list of customers associated with the customer group.
- CustomerAddress
defaultBillingAddress The default billing address associated with the customer.
- CustomerAddress
defaultShippingAddress The default shipping address associated with the customer.
- String
email The email address of the customer.
- String
firstName The first name of the customer.
- Boolean!
hasAccountIdentity Indicates whether the customer has an associated account identity.
- ID!
id The unique identifier for the customer.
- DateTime
lastModifiedAt The date and time when the customer was last modified.
- String
lastName The last name of the customer.
- Boolean!
marketingConsent Indicates whether the customer has consented to marketing.
- [MetadataItem!]!
metadata Gets the metadata associated with the customer.
- [Metafield!]!
metafields The metafields associated with this customer.
- OrderConnection!
orders A list of orders associated with the customer.
- Long!
ordersCount The number of orders associated with the customer.
Queries
Retrieves a single customer by
ID.Retrieves a paged list of customers with optional filtering, sorting, and full-text search.
Mutations
Creates a customer account with the specified details.
Deletes a specific address for a customer.
Creates a new customer with the provided details.
Requests a password reset for a customer.
Updates an existing customer with the provided details.