customer
The currently logged in customer.
Returns
entityId
The ID of the customer.
company
The company name of the customer.
customerGroupId
The customer group id of the customer.
email
The email address of the customer.
firstName
The first name of the customer.
lastName
The last name of the customer.
phone
The phone number of the customer.
taxExemptCategory
The tax exempt category of the customer.
attributeCount
Customer attributes count.
storeCredit
Customer store credit.
attributes
Customer attributes.
wishlists
Customer wishlists.
formFields
The form field values of the customer.
addresses
Customer addresses.
metafields
Metafield data related to a customer.
isSubscribedToNewsletter
Indicates whether the customer is subscribed to the store's newsletter.
storedPaymentInstruments
Stored payment instruments for the authenticated customer.
notesDeprecated
The notes of the customer.
Deprecated: Notes aren’t supported in Storefront GQL API. This will output an empty string.
addressCountDeprecated
Customer addresses count.
Deprecated: Use addresses.collectionInfo.totalItems instead.
notificationPreferencesDeprecated
The customer’s notification preferences.
Deprecated: Alpha version. Do not use in production.
customerGroupName
The customer group name of the customer.
activeCompany
The customer's active company context, or null when the shopper is not an authenticated customer.
orders
The Orders for the customer.