2
根據以下鏈接創建興趣功能無效。 http://developer.mailchimp.com/documentation/mailchimp/reference/lists/interest-categories/interests/# 但使用API playgroung可以創建興趣。即使嘗試使用REST API,我也能創造興趣。如果「創建興趣」API已從上面的頁面中刪除,請讓我知道。如何創建興趣類別的興趣?
根據以下鏈接創建興趣功能無效。 http://developer.mailchimp.com/documentation/mailchimp/reference/lists/interest-categories/interests/# 但使用API playgroung可以創建興趣。即使嘗試使用REST API,我也能創造興趣。如果「創建興趣」API已從上面的頁面中刪除,請讓我知道。如何創建興趣類別的興趣?
我認爲它從來沒有在那個網頁上。這個新的API文檔缺少很多可能的東西。
如果你想創建新的興趣,你可以僅發佈到這個端點: /lists/{list_id}/interest-categories/{interest_category_id}/interests
實例請求體:
{
"list_id": "id_of_the_list",
"name": "name of the interest",
"display_order": 1
}
所以對你的問題的回答是,我敢肯定,他們只是還沒有爲那個創建文檔。
謝謝。我確認這是有效的,同時這也沒有記錄。只需稍作修改 - 在POST有效負載中不需要'list_id',因爲它位於URL中。 – srigi