POST
/
publisher.v1
/
member.attributes
/
set
Set
curl --request POST \
  --url http://localhost/publisher.v1/member.attributes/set \
  --header 'Content-Type: application/json' \
  --data '
{
  "member_base_id": "<string>",
  "attributes": [
    {
      "member_id": "<string>",
      "attribute_key": "<string>",
      "value": 123
    }
  ]
}
'
{
  "update-count": 1
}
Set one or more attributes on a member. If an attribute already exists, its value is overwritten. Attributes not included in the request are left unchanged. Attributes must conform to the attribute schema defined for the memberbase. Setting an attribute key that is not in the schema will result in an error.

Immediate Effect

Attribute changes take effect immediately for subsequent delivery decisions. There is no delay between setting an attribute and it being available for targeting rules.

Body

application/json
member_base_id
string
required
attributes
object[]
required

Response

Successful response

update-count
integer
required
Required range: x >= 0