Skip to content

Latest commit

 

History

History
51 lines (24 loc) · 1.75 KB

LibraryAttribute.md

File metadata and controls

51 lines (24 loc) · 1.75 KB

TalonOne.LibraryAttribute

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.
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 the attribute.
presets [String] The presets that indicate to which industry the attribute applies to.
suggestions [String] Short suggestions that are used to group attributes.

Enum: EntityEnum

  • Application (value: "Application")

  • Campaign (value: "Campaign")

  • CustomerProfile (value: "CustomerProfile")

  • CustomerSession (value: "CustomerSession")

  • CartItem (value: "CartItem")

  • Coupon (value: "Coupon")

  • Event (value: "Event")

Enum: TypeEnum

  • string (value: "string")

  • number (value: "number")

  • boolean (value: "boolean")

  • time (value: "time")