Contact - Liquid Object Reference - 0.11.3

Object Name Contact
Version 0.11.3

Description

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

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 Account using Pay by Account
can_use_account_credit? Boolean Indicates whether the Contact is allowed to make purchases with the Account Credit
can_use_account_points? Boolean Indicates whether the Contact is allowed to make purchases with the Account Points
email String Returns the value of the Email attribute
firstname String Returns the value of the Firstname attribute
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
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
subscriptions List[Subscription] Returns a list of Subscriptions for this Account
username String Returns the value of the Username attribute

Objects that return Contacts

Back to Object List

Back to Liquid Reference for 0.11.3

 

 
Back to Documentation