Admin API / Types

CreateCollectionPayload

Union

The result of createCollection. CollectionNameTakenError: another collection of the item type has the name. CollectionNotFoundError: a repeat of a call whose collection was deleted since. CollectionRulesInvalidError: rules name sellers or collections that cannot be used. IdempotencyConflictError: the key was used before with another input. MediaFileUrlNotUsableError: thumbnailFileUrl cannot be used. MediaNotFoundError, MediaNotUsableError: thumbnailId cannot be used. UnauthorizedError: the caller is below the ADMIN role. An error member creates nothing.

union CreateCollectionPayload = CollectionNameTakenError | CollectionNotFoundError | CollectionRulesInvalidError | CreateCollectionSuccess | IdempotencyConflictError | MediaFileUrlNotUsableError | MediaNotFoundError | MediaNotUsableError | UnauthorizedError

Members

Returned by