Admin API / Types

UpdateCollectionPayload

Union

The result of updateCollection. CollectionNameTakenError: another collection of the item type has the name, or a tag has its slug. CollectionNotFoundError: the caller reads no collection with this ID. CollectionRulesInvalidError: rules name sellers or collections that cannot be used. CollectionSettingNotApplicableError: the collection does not have an input setting. MediaFileUrlNotUsableError: thumbnailFileUrl cannot be used. MediaNotFoundError, MediaNotUsableError: thumbnailId cannot be used. UnauthorizedError: the caller is below the ADMIN role. An error member writes nothing.

union UpdateCollectionPayload = CollectionNameTakenError | CollectionNotFoundError | CollectionRulesInvalidError | CollectionSettingNotApplicableError | MediaFileUrlNotUsableError | MediaNotFoundError | MediaNotUsableError | UnauthorizedError | UpdateCollectionSuccess

Members

Returned by