createCollection

suspend fun createCollection(name: String? = null, ids: Collection<String>? = emptyList(), parentId: ERROR CLASS: Symbol not found for UUID?? = null, isLocked: Boolean? = false): Response<ERROR CLASS: Symbol not found for CollectionCreationResult>

Creates a new collection.

Parameters

name

The name of the collection.

ids

Item Ids to add to the collection.

parentId

Optional. Create the collection within a specific folder.

isLocked

Whether or not to lock the new collection.