Contact - Liquid Object Reference

This article requires advanced skills to implement.
Liquid

Description

The Contact object contains information about an individual customer who has an Account.

ℹ️ Note

This object supports custom data via the data attribute.

Attributes

Attribute Type Description
account Account Returns the Account for this Contact
campaigns List[Campaign] Returns a list of Campaigns that this Contact is subscribed to
can_purchase_for_account? Boolean Indicates whether the Contact is allowed to make purchases for this Contact's Account using Pay by Account
can_use_account_credit? Boolean Indicates whether the Contact is allowed to make purchases for this Contact's Account using Account Credit
can_use_account_points? Boolean Indicates whether the Contact is allowed to make purchases for this Contact's Account using Account Points
can_use_account_pricing? Boolean Indicates whether the Contact is allowed to make purchases for this Contact's Account using the Account's Pricing
carts List[Cart] Returns a list of carts owned by this Contact that can be resumed
email String Returns the value of the Email attribute
firstname String Returns the value of the Firstname attribute
fulfillments List[Fulfillment] Returns a list of Fulfillments for this Contact
has_login? Boolean Returns true if the Contact has a login account (ie saved a password)
id String Returns the unique id for this Contact
last_login_date Timestamp Returns the date and time when the Contact last logged in
lastname String Returns the value of the Lastname attribute
mailing_address_lines List[String] Returns a list of all the address lines in the Mailing Street
mailing_city String Returns the value of the City attribute of the Mailing Address
mailing_country String Returns the value of the Country attribute of the Mailing Address
mailing_postal_code String Returns the value of the Postal Code attribute of the Mailing Address
mailing_state String Returns the value of the State attribute of the Mailing Address
mailing_street String Returns the value of the Street attribute of the Mailing Address
membership Membership Returns the associated Membership for this Contact
mobile_phone String Returns the value of the Mobile Phone attribute
name String Returns the value of the Name attribute
orders List[Order] Returns a list of Orders for this Contact
phone String Returns the value of the Phone attribute
sso_provider String Returns the SSO Provider this Contact logs in with
subscriptions List[Subscription] Returns a list of Subscriptions for this Contact
terms_accepted_on Timestamp Returns the date and time when the Contact accepted the terms and conditions
username String Returns the value of the Username attribute