最近の検索


最近の検索はありません

Bulk API call



投稿日時:2022年4月28日

How can I create bulk categories or articles using API?

I am able to create one category at a time but when I try below code for more than one categories then it fails. Do we have any other alternatives?

 

{
    "category": [ 
        {
            "position": 0,
            "name": "Agents2",
            "description": "",
            "locale": "en-us",
            "source_locale": "en-us",
            "outdated": false
        }

,
        {
            "position": 1,
            "name": "Agent3",
            "description": "",
            "locale": "en-us",
            "source_locale": "en-us",
            "outdated": false
        }
    ]
}
 

 


0

1

1件のコメント

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey Atul,

Unfortunately the api is only to create one category at a time. Though you could write a small script to loop through an array of category objects to create them all in one go. 

0


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿