Create categories in batch

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Values to create a batch of categories
categorieslist of objectsRequired
array of categories objects
updateEnabledbooleanOptional

Facilitate to update the existing categories in the same request (updateEnabled = true)

Response

Category created and updated
createdCountlong or null
Number of the new created categories
updatedCountlong or null
Number of the existing categories updated

Errors