Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 2.3 KB

NewAttribute.md

File metadata and controls

23 lines (18 loc) · 2.3 KB

# NewAttribute

Properties

Name Type Description Notes
entity string 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.
eventType string [optional]
name string 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 string 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 string The data type of the attribute, a `time` attribute must be sent as a string that conforms to the RFC3339 timestamp format.
description string A description of this attribute.
suggestions string[] A list of suggestions for the attribute.
hasAllowedList bool Whether or not this attribute has an allowed list of values associated with it. [optional] [default to false]
restrictedBySuggestions 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.
subscribedApplicationsIds int[] A list of the IDs of the applications where this attribute is available. [optional]
subscribedCatalogsIds int[] A list of the IDs of the catalogs where this attribute is available. [optional]
allowedSubscriptions string[] A list of allowed subscription types for this attribute. Note: This only applies to attributes associated with the `CartItem` entity. [optional]

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