Can you get a MailChimp interest group ID without using the API?

前端 未结 7 1710
孤城傲影
孤城傲影 2021-02-19 07:32

With the MailChimp API, to add a member to a list with a specific interest group, you need both that list\'s ID and the interest group\'s ID.

To get both those IDs, you

7条回答
  •  难免孤独
    2021-02-19 08:01

    I am using V3 API and you can use Playground to get group id (Mûhámmàd Yäsår K group name doesn't work for me)

    Playground > List > [Your list] > interest-categories > interests > [Your group]-> You'll see payload with field id

    Now that you have the group id, you can play with creating members: Playground > List > [Your list] > members > Click Create members

    Here's the sample payload:

    {
        "email_address": "user@mail.com",
        "status": "subscribed",
        "merge_fields": {
            "EMAIL": "user@mail.com",
            "FNAME": "Firstname",
            "LNAME": "Lastname",
            "POST_CODE": "",
            "ADDRESS": "",
            "PHONE": ""
        },
        "interests": {
            "733ba3180d": true
        }
    }
    

    Note: interests is not inside merge_fields

    Hope this help.

提交回复
热议问题