Subscription List

Use the subscriptions query to retrieve a list of available subscriptions for a given user.

Available Fields

Field

Type

Description

id

String

Unique subscription ID

databaseId

String

Unique subscription database ID

name

String

Subscription name

isActive

String

True if the subscription is active. Otherwise, false

billingPeriod

Enum

Possible Values: MONTH, ONCE, TRI_MONTH, YEAR

duration

SubscriptionDuation

Possible Values: FOREVER, MONTH, TRI_MONTH, YEAR

totalPrice

Int

Subscription total price

periodPrice

Int

Subscription period price

trialPeriodDays

Int

Number of left trial days

Example

{
  subscriptions {
    edges {
      node {
        id
        name
        isActive
        billingPeriod
        duration
        totalPrice
        periodPrice
        appleId
        googleplaySku
        trialPeriodDays
        isRecurring
        databaseId
      }
    }
  }
}

Update

Last updated