Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.7 KB

CreateAttribute.md

File metadata and controls

14 lines (10 loc) · 1.7 KB

CreateAttribute

Properties

Name Type Description Notes
value str Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
is_recurring bool Type of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
enumeration list[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]
multi_category_options list[str] 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 str 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]