subscriptionCreate

Graphql fields and variables for the subscriptionCreate mutation

Create a paid or trial subscription

Scope required: standard:write

For a complete list of input attributes see the SubscriptionAttributes type

mutation subscriptionCreate ($attributes: SubscriptionAttributes!, $billingDay: Int!) {
  subscriptionCreate (attributes: $attributes, billingDay: $billingDay) {
      errors
      subscription {
        accountId
        cancellationDate
        createdAt
        currencyId
        currentPeriod
        daysLeftInTrial
        endDate
        evergreen
        id
        name
        period
        priceAdjustmentAllowed
        priceAdjustmentLastDate
        priceAdjustmentPercentage
        priceListId
        provisioningRequired
        rampIntervalMonths
        renewalSummary
        renewalTermMonths
        startDate
        trialEndDate
        trialPeriod
        trialStartDate
        updatedAt
      }
  }
}

Arguments

Name
Type
Description

billingDay

Int

Response

Name
Type
Description

errors

List (String)

subscription

Last updated

Was this helpful?