Requires unauthenticated_read_customers access scope.

A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout.


Indicates whether the customer has consented to be sent marketing material via email.

A list of addresses for the customer.

The date and time when the customer was created.

The customer’s default address.

The customer’s name, email or phone number.

The customer’s email address.

The customer’s first name.

A unique ID for the customer.

The customer’s last name.

Returns a metafield found by namespace and key.

The metafields associated with the resource matching the supplied list of namespaces and keys.

The number of orders that the customer has made at the store in their lifetime.

The orders associated with the customer.

The customer’s phone number.

Anchor to Customer.tags
tags
non-null
Access requirements

A comma separated list of tags that have been added to the customer. Additional access scope required: unauthenticated_read_customer_tags.

The date and time when the customer information was updated.


Was this section helpful?
Map

Fields from

Possible types in

Customer


The customer associated with the given access token. Tokens are obtained by using the customerAccessTokenCreate mutation.


Was this section helpful?
<?>
Customer Queries
Customer

Queried by



Activates a customer with the activation url received from customerCreate.

Activates a customer.

Anchor to customerCreate
mutation
Access requirements

Creates a new customer.

Updates the default address of an existing customer.

"Resets a customer’s password with the reset password URL received from a reset password email. You can send a reset password email with the customerRecover mutation."

Anchor to customerReset
mutation
Access requirements

"Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the customerRecover mutation."

Anchor to customerUpdate
mutation
Access requirements

Updates an existing customer.


Was this section helpful?



Was this section helpful?
||-
Customer Implements
Customer

Implements