Update Attribute

Update contact attribute

Options

Attribute Category
Category of the attribute
Attribute Name
Name of the existing attribute
Body
Values to update an attribute

Request body which must comply to the following JSON Schema:

{
  "type" : "object",
  "properties" : {
    "value" : {
      "type" : "string",
      "description" : "Value of the attribute to update. **Use only if the attribute's category is 'calculated' or 'global'**\n",
      "example" : "COUNT[BLACKLISTED,BLACKLISTED,<,NOW()]"
    },
    "enumeration" : {
      "type" : "array",
      "description" : "List of the values and labels that the attribute can take. **Use only if the attribute's category is \"category\"**. For example,\n**[{\"value\":1, \"label\":\"male\"}, {\"value\":2, \"label\":\"female\"}]**\n",
      "items" : {
        "required" : [ "label", "value" ],
        "type" : "object",
        "properties" : {
          "value" : {
            "type" : "integer",
            "description" : "Id of the value",
            "example" : 1
          },
          "label" : {
            "type" : "string",
            "description" : "Label of the value",
            "example" : "Men"
          }
        }
      }
    },
    "multiCategoryOptions" : {
      "type" : "array",
      "description" : "Use this option to add multiple-choice attributes options only if the attribute's category is \"normal\". **This option is specifically designed for updating multiple-choice attributes**. For example:\n**[\"USA\",\"INDIA\"]**\n",
      "items" : {
        "type" : "string"
      }
    }
  }
}
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Raw Response: Returns the raw response in a single row with the following columns:

  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.