Docs
Dashboard

Customer

Object

Fields returned for customer.

#

Fields


addresses
CustomerAddressConnection!

The addresses associated with the customer.

createdAt
DateTime!

The date and time when the customer was created.

customerGroups
CustomerGroupConnection!

Retrieves a paged list of customers associated with the customer group.

defaultBillingAddress
CustomerAddress

The default billing address associated with the customer.

defaultShippingAddress
CustomerAddress

The default shipping address associated with the customer.

email
String

The email address of the customer.

firstName
String

The first name of the customer.

hasAccountIdentity
Boolean!

Indicates whether the customer has an associated account identity.

id
ID!

The unique identifier for the customer.

lastModifiedAt
DateTime

The date and time when the customer was last modified.

lastName
String

The last name of the customer.

marketingConsent
Boolean!

Indicates whether the customer has consented to marketing.

metadata
[MetadataItem!]!

Gets the metadata associated with the customer.

metafields
[Metafield!]!

The metafields associated with this customer.

orders
OrderConnection!

A list of orders associated with the customer.

ordersCount
Long!

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.