Premium, Premium Business and Verified Organizations
Premium subscription pages, Verified Organization checkout, affiliates, cancellation and billing. Every method returns the raw GraphQL data with the outer wrapper removed. Methods marked untested are mutations that were never called live, because they spend money, start a checkout or change account data.
premium.hub(opts?)
Get the Premium hub config with its sections and upsells.
premium.paywall(opts?)
Record a Premium paywall view and get the journey it routes to. Untested.
premium.profileUpsell(opts?)
Get the viewer fields that decide the Premium upsell shown on profiles.
premium.replyBoostUpsell(opts?)
Get the viewer fields that decide the reply boost upsell.
premium.subscriptions(opts?)
List the account's product subscriptions.
premium.affiliations(opts?)
List the organizations the account is affiliated with.
premium.portalSession(returnUrl, opts?)
Create a subscription management portal session and get its URL. Untested.
premium.businessLanding(opts?)
Get the Premium Business landing page products and prices. Pass product ids through opts.
premium.businessSection(opts?)
Get the Premium Business section of the viewer's settings.
premium.businessSettings(opts?)
Get the Premium Business settings, including failed payments.
premium.tierSwitch(opts?)
Get the products offered on the tier switch page. Pass basicProductId and fullAccessProductId through opts.
premium.tierSwitchPlans(productSku, opts?)
List the plans the organization can switch to.
premium.tierSwitchInitiate(targetPriceId, opts?)
Start a tier switch to a price and get the preview. Untested.
premium.tierSwitchCommit(priceId, opts?)
Commit a tier switch. This changes what you are billed. Untested.
premium.tierSwitchStatus(productSku, opts?)
Get the progress of a pending tier switch.
premium.tierSwitchSubscriptions(opts?)
List subscriptions while a tier switch is pending.
premium.orgCheckout(productSku, externalPriceId, opts?)
Create a Verified Organizations checkout session. Pass success_url, cancel_url and promotion_data through opts. Untested.
premium.orgPaymentInfo(opts?)
Get the organization's payment info and target tier.
premium.orgPrices(productId, opts?)
Get the prices of a Verified Organizations product.
premium.orderSummary(fullAccessProductId, opts?)
Get the order summary prices for a product.
premium.orderInvoice(productSku, externalPriceId, affiliateLimit, opts?)
Create an invoice preview for an order. Untested.
premium.updateSeats(affiliateSeatCount, opts?)
Change the number of affiliate seats. This changes what you are billed. Untested.
premium.invoiceConfig(opts?)
Get the organization's affiliate limit and invoice config.
premium.applicationAccess(opts?)
Get whether the viewer can apply for Verified Organizations.
premium.applicationProfile(opts?)
Get the profile fields used to prefill the application form.
premium.apply(organizationName, organizationEmailAddress, organizationWebsite, organizationType, applicantName, opts?)
Submit a Verified Organizations application. Untested.
premium.applicationStatus(opts?)
Get the status of the viewer's application.
premium.affiliates(opts?)
List the organization's affiliates and pending invitations.
premium.team(screenName, opts?)
Get an organization's public affiliates timeline. Pass teamName and cursor through opts.
premium.inviteSearch(query, opts?)
Search accounts to invite as affiliates.
premium.invitePage(productId, opts?)
Get the invite page with prices and affiliates.
premium.invite(organizationId, inviteeId, opts?)
Invite an account to become an affiliate. Pass invitationDetail through opts. Untested.
premium.resendInvite(organizationId, inviteeId, opts?)
Resend an affiliate invitation. Untested.
premium.deleteInvite(organizationId, inviteeId, opts?)
Delete a pending affiliate invitation. Untested.
premium.removeAffiliate(organizationId, affiliateId, opts?)
Remove an affiliate from the organization. Untested.
premium.setAffiliateType(organizationId, affiliateId, affiliateType, opts?)
Change an affiliate's type. Untested.
premium.cancelFlow(opts?)
Get the cancel flow, including retention offers.
premium.recordCancelStart(opts?)
Record that the viewer opened the cancel flow. Untested.
premium.acceptOffer(offerId, opts?)
Accept a retention offer. Untested.
premium.cancel(opts?)
Cancel the Verified Organizations subscription. Untested.
premium.portalAccess(opts?)
Get whether the viewer can open the Verified Organizations portal.
premium.home(opts?)
Get the viewer fields of the Verified Organizations home.
premium.prioritySupport(opts?)
Get the viewer's priority support access.
premium.welcome(opts?)
Get the welcome page products. Pass the product ids through opts.
premium.welcomeAccess(opts?)
Get whether the viewer can see the welcome page.
premium.thankYou(opts?)
Get the thank-you page shown after checkout.
premium.verifiedFollowers(screenName, opts?)
Get an account's verified followers timeline.
premium.billingPortal(returnUrl, opts?)
Create an organization billing portal session and get its URL. Untested.
premium.failedPayments(opts?)
Get the organization's failed payments.
premium.businessNav(opts?)
Get the business portal navigation state.