Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.7 KB

File metadata and controls

12 lines (9 loc) · 1.7 KB

Brevo::CreateAttribute

Properties

Name Type Description Notes
value String Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
is_recurring BOOLEAN Type of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
enumeration Array<CreateAttributeEnumeration> List of values and labels that the attribute can take. Use only if the attribute's category is &quot;category&quot;. None of the category options can exceed max 200 characters. For example, [{&quot;value&quot;:1, &quot;label&quot;:&quot;male&quot;}, {&quot;value&quot;:2, &quot;label&quot;:&quot;female&quot;}] [optional]
multi_category_options Array<String> List of options you want to add for multiple-choice attribute. Use only if the attribute's category is &quot;normal&quot; and attribute's type is &quot;multiple-choice&quot;. None of the multicategory options can exceed max 200 characters. For example: [&quot;USA&quot;,&quot;INDIA&quot;] [optional]
type String Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'user' and 'multiple-choice' is only available if the category is 'normal' attribute, type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) [optional]