Ricerche recenti


Nessuna ricerca recente

Bulk API call



Data ultimo post: 28 apr 2022

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 commento

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


Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post