POST a Member Variable

You can create several Member Variables with different types of properties in a single request.

Example: POST /membervariables

[
   {
      "name": "City",
      "type": "singleChoice",
      "dataType": "text"
   },
   {
      "name": "Date of Birth",
      "type": "open",
      "dataType": "date"
   },
   {
      "name": "Areas of Interest",
      "type": "multiChoice",
      "dataType": "text"
   },
   {
      "name": "Income",
      "type": "open",
      "dataType": "numeric"
   }
]

To view the new variable in Community:

In the global navigation menu, click Community > Profile Variables.