I'm using the lists/update-member method to change the member's groups, but my API call wipes all groups and doesn't add the ones I want. I want it to replace the current groups, but I think my syntax may be wrong, though I do not get any error back. Here's the general shape of my JSON call:
{
"apikey":"key",
"id":"listid",
"email":{
"email":"email_to_update"
},
"merge_vars": [{
"groupings":[{
"id":groupingid,
"name":"grouping_name",
"groups":["group_name"]
}]
}]
}
Any help would be appreciated!