Admin API / Types
AddLivestreamProductOutcome
UnionAddLivestreamProductItemSuccess: the listing is attached. ProductNotAddableError: the listing cannot join a livestream; reason says why. ProductNotFoundError: the caller reads no listing with this ID. UnauthorizedError: the listing's seller is not the caller, not the owner of a store that the caller staffs and not a joined cohost; requiredRole is ADMIN, or null when the listing is HIDDEN: only its seller and the staff of the seller's store attach it. An error outcome changes nothing for its listing.
union AddLivestreamProductOutcome = AddLivestreamProductItemSuccess | ProductNotAddableError | ProductNotFoundError | UnauthorizedError