# sib_contacts.createattribute: Sendinblue Package for Contacts operations that could not be mapped to a table.
sib_contacts.createattribute: Sendinblue Package for Contacts operations that could not be mapped to a table.
Create a new contact attribute under the specified category and name. The required body properties depend on the category: use "type" for normal, transactional, or category attributes; use "value" for calculated or global attributes; use "enumeration" for category attributes; and use "multiCategoryOptions" for normal multiple-choice attributes. None of the category or multicategory option values can exceed 200 characters.Parameters of Procedure
The following parameters can be used to control the behaviour of the procedure `sib_contacts.createattribute`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `begin package.procedure(value1, value2, value3); end` on a procedure with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `begin package.procedure(name1 => value1, name3 => value3); end` on the same procedure will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `p_attributeCategory` | `string` | ☑ | | Category of the attribute (Values: normal, transactional, category, calculated, global) |
| `p_attributeName` | `string` | ☑ | | Name of the attribute |
| `isRecurring` | `boolean` | ☐ | | Type of the attribute. **Use only if the attribute's category is 'calculated' or 'global'** |
| `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
(Values: text, date, float, boolean, id, category, multiple-choice, user) |
| `value` | `string` | ☐ | | Value of the attribute. **Use only if the attribute's category is 'calculated' or 'global'** |