OBJECT
SubscriptionProduct
A subscription that is purchasable by users. Once purchased, the subscription entitles the user to use special emote sets on Twitch.
link GraphQL Schema definition
1 type SubscriptionProduct { 2 3 # The subscription product's display name. 4 String : 5 6 # The maximum number of Emotes that can be associated with this product. 7 Int : 8 9 # The maximum number of animated Emotes that can be associated with this product. 10 Int : 11 12 # The emote modifiers associated with the product. 13 EmoteModifier!] : [ 14 15 # The identifier of the static EmoteSet that a user gains access to use on Twitch, 16 # when they purchase this product. 17 ID @deprecated( reason: "Products can have more than one emote set now so use emoteGroups instead." ) : 18 19 # The emote groups that the user gains access to use on Twitch when they purchase 20 # this product. 21 # When using the ALL filter the data is uncached and should only be used on the 22 # creator dashboard. 23 EmoteStateFilter): [EmoteSet!] ( : 24 25 # A list of Emotes the user gains access to use on Twitch when they purchase 26 # this product. 27 EmoteStateFilter): [Emote] ( : 28 29 # A list of GiftOffers that are available on this subscription product 30 # depending on which platform and gift type is given 31 # Used by clients to display different gift prices, quantities and gift promotion 32 # information. 33 ( 34 SubscriptionGiftOfferPlatform, : 35 SubscriptionGiftType! : 36 ): [SubscriptionGiftOffer!] 37 38 # The subscription product's promotion if it is active. 39 SubscriptionPromotion : 40 41 # The different types of gift subscriptions ("Community" vs "Standard"). 42 SubscriptionGifting! : 43 44 # Whether the subscription hides ads for the channel. 45 Boolean! : 46 47 # Whether the subscribers of this product are affected by slow chat mode. 48 Boolean : 49 50 # Whether the channel has sub only chatroom restriction. 51 Boolean : 52 53 # Whether the subscribers of this product are able to see the subs-only video 54 # archive. 55 Boolean : 56 57 # The subscription product's identifier. 58 ID! : 59 60 # The interval that the product lasts for. Includes unit + duration. 61 SubscriptionInterval! : 62 63 # The subscription product's name. 64 String! : 65 66 # Available offers for a subscription product. 67 Offer!] : [ 68 69 # The Twitch user that is the owner of the channel associated with this 70 # subscription product. 71 # This is null for SubscriptionProducts like 'turbo' that are not associated with 72 # any user. 73 User : 74 75 # The subscription's USD-formatted price, e.g. "$9.99". 76 String! @deprecated( reason: "Transitioning to priceInfo instead to support multi region pricing" ) : 77 78 # PriceInfo holds the products pricing information such as currency, cost, and tax 79 # information. 80 String): PriceInfo! ( : 81 82 # The subscription product's promotion if it is active. 83 SubscriptionPromotion : 84 85 # The currently active revenue configuration record for the subscription product. 86 RevenueConfig : 87 88 # The connection for user to the subscription product. 89 SubscriptionProductSelfConnection : 90 91 # The avaliability state of the product. e.g. "active" or "inactive". 92 SubscriptionState! : 93 94 # ThirdPartytemplateSKU is used by the frontend to retrieve third party product 95 # information such 96 # as price. templateSKU is exposed separately from purchaseSKU since retrieving 97 # purchaseSKU is a 98 # more expensive operation. A user may not be able to purchase the templateSKU. 99 # Use purchaseSKU 100 # when the user has indiciated they want to purchase. 101 # Uses Client-ID to determine platform information and IP address to determine 102 # location. 103 String): String ( : 104 105 # The tier of the product. 106 String! : 107 108 # The type of subscription, e.g. "chansub" or "teamsub". 109 SubscriptionProductType! : 110 111 # The URL for this subscription's purchase page. 112 String! : 113 114 }
link Required by
- Emote
- EmoteModifierGroupPayloadA set of modifiers that have been set on a tier of emotes for a creator.
- ExpiredSubscriptionData about an inactive subscription to a broadcaster.
- MilestoneMilestone is a construct is used within a tournament. For a given threshold, when the user cheers at or past this amount, they are able to claim a reward for cheering at this level. Rewards can be fulfilled by different platforms. Types of milestones: - **Global milestone**: for a given threshold, this milestone is reached when cheers from all users on the channel is greater than or equal to the threshold. This unlocks a reward for all users who have cheered. - **Individual milestone**: for a given threshold, this milestone is reached when an individual user's total cheers in the channel is greater than or equal to the threshold. This unlocks a reward for the individual user who cheered. - **Team milestone**: for a given threshold, this milestone is reached when an individual cheers for a specific team in total is greater than or equal to the threshold. This unlocks a reward for the individual user who cheered. NOTE: Should have been named CheeringTournamentMilestone.
- QueryRoot fields to access the Twitch API.
- RedeemSubscriptionPayloadRedeemSubscriptionPayload returns a status code indicating whether the update was successful or not.
- SubscriptionBenefitData about a user's subscription to a broadcaster.
- SubscriptionProductsConnectionA set of subscription products.
- UpdateSubscriptionProductPayloadOutput from the updateSubscriptionProduct mutation.
- UserTwitch user.