Name | Type | Description | Notes |
---|---|---|---|
entity | str | The name of the entity that can have this attribute. When creating or updating the entities of a given type, you can include an `attributes` object with keys corresponding to the `name` of the custom attributes for that type. | |
event_type | str | [optional] | |
name | str | The attribute name that will be used in API requests and Talang. E.g. if `name == "region"` then you would set the region attribute by including an `attributes.region` property in your request payload. | |
title | str | The human-readable name for the attribute that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique. | |
type | str | The data type of the attribute, a `time` attribute must be sent as a string that conforms to the RFC3339 timestamp format. | |
description | str | A description of this attribute. | |
suggestions | list[str] | A list of suggestions for the attribute. | |
has_allowed_list | bool | Whether or not this attribute has an allowed list of values associated with it. | [optional] [default to False] |
restricted_by_suggestions | bool | Whether or not this attribute's value is restricted by suggestions (`suggestions` property) or by an allowed list of value (`hasAllowedList` property). | [optional] [default to False] |
editable | bool | Whether or not this attribute can be edited. | |
subscribed_applications_ids | list[int] | A list of the IDs of the applications where this attribute is available. | [optional] |
subscribed_catalogs_ids | list[int] | A list of the IDs of the catalogs where this attribute is available. | [optional] |
allowed_subscriptions | list[str] | A list of allowed subscription types for this attribute. Note: This only applies to attributes associated with the `CartItem` entity. | [optional] |