Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.73 KB

CreateAttribute.md

File metadata and controls

14 lines (10 loc) · 1.73 KB

CreateAttribute

Properties

Name Type Description Notes
value string Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
isRecurring bool Type of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
enumeration \Brevo\Client\Model\CreateAttributeEnumeration[] List of values and labels that the attribute can take. Use only if the attribute's category is "category". For example, [{"value":1, "label":"male"}, {"value":2, "label":"female"}] [optional]
multiCategoryOptions string[] List of options you want to add for multiple-choice attribute. Use only if the attribute's category is "normal" and attribute's type is "multiple-choice". For example: ["USA","INDIA"] [optional]
type string Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' 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]

[Back to Model list] [Back to API list] [Back to README]