customer

The currently logged in customer.

Returns

an optional Customer
entityIdInteger
The ID of the customer.
companyString
The company name of the customer.
customerGroupIdInteger
The customer group id of the customer.
emailString
The email address of the customer.
firstNameString
The first name of the customer.
lastNameString
The last name of the customer.
notesString
The notes of the customer.
phoneString
The phone number of the customer.
taxExemptCategoryString
The tax exempt category of the customer.
addressCountInteger
Customer addresses count.
attributeCountInteger
Customer attributes count.
storeCreditlist of Moneys
Customer store credit.
attributesCustomerAttributes
Customer attributes.
wishlistsWishlistConnection
Customer wishlists.
formFieldslist of CustomerFormFieldValues
The form field values of the customer.
addressesAddressConnection
Customer addresses.
metafieldsMetafieldConnection
Metafield data related to a customer.
isSubscribedToNewsletterBoolean
Indicates whether the customer is subscribed to the store's newsletter.
customerGroupNameString
The customer group name of the customer.
ordersOrdersConnection
The Orders for the customer.