The customer object has the following attributes:
Returns the unique platform ID for the customer.
Returns the company name of the customer (only applicable if the customer is a trade customer).
Returns the first name of the customer.
Returns the last name of the customer.
Returns the email address of the customer.
Returns the phone number of the customer.
Returns the first line of the address of the customer.
Returns the second line of the address of the customer.
Returns the third line of the address of the customer.
Returns the city within the address of the customer.
Returns the zip or postal code of the customer
Returns the ID of the state of the customer (only available if the customer is in the USA).
Returns the county/province/state of the customer (only available if the customer is outside the USA).
Returns the ID of the country of the customer. Country IDs are available here.
Returns true if the customer is a trade customer.
Returns an integer of the number of reward points the customer currently has within their account.
Returns true if the customer has indicated they are willing to accept marketing communications.
On applicable to trade customers, returns true if the customer has been marked as a credit customer.
Trade customers only
There are 5 additional data fields that can be entered for a trade customer.
Returns the mobile number of the customer.
Returns the website address entered of the customer.
Returns the VAT number entered of the customer.
Returns the global percentage trade discount entered for the customer.
Returns the name of the trade pricing band the customer belongs to.