AddOrRemoveMemberTags
Adds or removes tags from a list member. If a tag that does not exist is provided and marked as 'active', a new tag is created.
Stored Procedure Specific Information
Tags can be provided either as a directly specified array or via a TEMP table.
Using TEMP table
Insert into TagsAggregate#TEMP(Name, Status) Values('TestName11', 'inactive'); Insert into TagsAggregate#TEMP(Name, Status) Values('TestName7', 'active'); exec AddOrRemoveMemberTags TagsAggregate = 'TagsAggregate#TEMP', listid = '123', MemberId = 'test';
Directly providing the array
exec AddOrRemoveMemberTags TagsAggregate = '[{"name": "TestName11","status": "inactive"},{"name": "TestName7","status": "active"}]', listid = '123', MemberId = 'test';
Input
Name | Type | Required | Description |
ListId | String | True | The unique ID for the list. |
MemberId | String | True | The MD5 hash of the lowercase version of the list member's email address. |
TagsAggregate | String | True | A list of tags assigned to the list member. |
IsSyncing | String | False | When is_syncing is true, automations based on the tags in the request will not fire. |
Result Set Columns
Name | Type | Description |
Success | String | Whether the operation was successful. |