Menu
Create Attribute
Create custom attribute
POST
/v1/attributesUse it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Create Attribute action (under management).
- Fill in the fields below, then reference the result from later steps as
{{createAttribute.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"entity": "Event",
"name": "pageViewed",
"title": "Page view event",
"type": "string",
"description": "Event triggered when a customer displays a page.",
"suggestions": [
"string"
],
"editable": true,
"eventType": "pageViewed",
"hasAllowedList": false,
"restrictedBySuggestions": false,
"subscribedApplicationsIds": [
1,
4,
9
],
"subscribedCatalogsIds": [
2,
5
]
}
Response
Returns 201 with an object. Read it in later steps with {{createAttribute.response.data.<field>}}.
{
"id": 6,
"created": {},
"accountId": 3886,
"entity": "Event",
"name": "pageViewed",
"title": "Page view event",
"type": "string",
"description": "Event triggered when a customer displays a page.",
"suggestions": [
"string"
],
"editable": true,
"eventType": "pageViewed",
"hasAllowedList": false
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?