List Groupings?

Jan 20, 2011 at 10:06 PM

Looking at MailChimp's API example, it seems that if you are using groups for lists, you need to add the groups to your mergevars when signing someone up (see :  their example: merge_var[groupings][0][name] = "pets", merge_var[groupings][0][groups] = "cats,dogs"

As such, it seems you would need to add them similarly through your API, setting up a grouping with an ID and name, and then setting the value.  However, I can't see a way to set the value of a grouping once it has been created with an ID and Name.  You can add a new grouping, but not set the value, either on creation, afterwards, or on add to the merges.  Am I missing something?


Mike Hagesfeld


Jan 23, 2011 at 3:06 PM


Please post an example (code)...


P.S. In general all members of grouping class are mutable...