Admin API / Types

CreateLivestreamPayload

Union

The result of createLivestream. CollectionsNotAssignableError: one or more collectionIds cannot hold the livestream. IdempotencyConflictError: the key was used before with another input. LivestreamNotFoundError: a repeat of a call whose livestream was deleted since. LivestreamProductsNotAddableError: one or more productIds cannot be attached. LivestreamThumbnailRequiredError: the input has no thumbnail and the account has no default livestream thumbnail. MediaFileUrlNotUsableError: thumbnailFileUrl cannot be used. MediaNotFoundError, MediaNotUsableError: thumbnailId cannot be used. UnauthorizedError: the caller cannot go live in this store, or a named collection is ADMINS_ONLY; requiredRole is SELLER below the SELLER role, MODERATOR when the membership lacks only the go-live permission, ADMIN for the collection, and null when no role helps. An error member creates nothing.

union CreateLivestreamPayload = CollectionsNotAssignableError | CreateLivestreamSuccess | IdempotencyConflictError | LivestreamNotFoundError | LivestreamProductsNotAddableError | LivestreamThumbnailRequiredError | MediaFileUrlNotUsableError | MediaNotFoundError | MediaNotUsableError | UnauthorizedError

Members

Returned by