customer
object

{{customer}} object available to templates and components with customer context such as page/contact-us-form.html, common/subscription-form.html, account/address-list.html, account/messages-form.html, and account/wishlist-list.html.

Handlebars Expression {{customer}}

addresses
array[object]

The customer.addresses object available to templates/pages/account/addresses.html and other account address templates.

customer_group_id
number

ID of this customer’s group.

customer_group_name
string

Name of this customer’s group.

edit_stored_instrument
string
email
string

Customer’s email address.

id
integer

Customer’s ID

name
string

Customer’s name

num_new_messages
integer

Number of unread messages for this customer.

num_wishlists
string

Number of wishlists for this customer.

orders
array[object]
payment_methods
oneOf

customer.payment_methods object available to templates/pages/account/payment-methods.html.

phone
string

Customer’s phone number

recently_viewed_products
array[object]
returns
array[object]

customer.returns object available to templates/pages/account/returns.html.

shipping_address
object

Shipping address used for the order

shipping_addresses
array[object]
store_credit
object

Customer’s store credit

wishlists
array[object]

customer.wishlists objects available to templates/components/account/wishlist-list.html and components.