Each Customer is represented as a customer object where each key-value pair corresponds to a Customers attribute name and value. Just as for product objects, customer objects allow you to have any number attributes.
All attribute names must be strings, and values can be either
string or a
list of the former.
A customer can have any number of attributes but must at least contain the following marked as Required:
|Required||The customer ID.|
Needed for using our Auto-Email and Audience products.
|The customers email.|
|Optional||The customers full name.|
|Optional||Boolean indicating whether the customer has subscribed to newsletters. This must be true for Clerk.io to send marketing emails to this customer.|
|Optional||The customers zip code.|
|Optional||The customers gender.|
|Optional||The customers age.|
|Optional||Boolean indicating whether a customer is B2B or not.|