如何获取mailchimp模板ID?

时间:2014-06-24 07:53:36

标签: php api mailchimp

使用mailchimp PHP API v2,需要知道template_id才能使用list方法。 http://apidocs.mailchimp.com/api/2.0/templates/update.php

在邮件黑猩猩中获取特定模板ID没有任何线索。我怎么得到这个?

2 个答案:

答案 0 :(得分:2)

您可以通过" /templates/list.format"检索模板ID;调用

指向文档的链接:http://apidocs.mailchimp.com/api/2.0/templates/list.php

答案 1 :(得分:0)

只需打开您的MailChimp模板并查看URL。

应该是这样的: 1. OUTPUT: Grocery store is open from 10am to 9pm YOUR OUTPUT: null 2. OUTPUT: Pet store is open from 8am to 6pm YOUR OUTPUT: pet 3. OUTPUT: grocery YOUR OUTPUT: grocery 4. OUTPUT: 13 YOUR OUTPUT: 13 5. OUTPUT: true YOUR OUTPUT: true 6. OUTPUT: false YOUR OUTPUT: true 7a. OUTPUT: false YOUR OUTPUT: true 7b. OUTPUT: pet YOUR OUTPUT: card 8a. OUTPUT: true YOUR OUTPUT: true 8b. OUTPUT: grocery YOUR OUTPUT: grocery 9. OUTPUT: 11am YOUR OUTPUT: 11 10. OUTPUT: 5pm YOUR OUTPUT: 5 11a. OUTPUT: true YOUR OUTPUT: true 11b. OUTPUT: Grocery store is open from 5am to 11pm YOUR OUTPUT: null 12a. OUTPUT: false YOUR OUTPUT: true 12b. OUTPUT: Pet store is open from 10am to 9pm YOUR OUTPUT: null 13a. OUTPUT: false YOUR OUTPUT: true 13b. OUTPUT: Pet store is open from 10am to 9pm YOUR OUTPUT: null

https://us5.admin.mailchimp.com/templates/editor?id=41是您的模板ID。