subscriptionTrialExtend

Graphql fields and variables for the subscriptionTrialExtend mutation

Extend the subscription's trial period

Scope required: standard:write

mutation subscriptionTrialExtend ($id: ID!, $trialEndDate: ISO8601Date!) {
  subscriptionTrialExtend (id: $id, trialEndDate: $trialEndDate) {
      errors
      invoice {
        accountId
        amount
        amountDue
        amountPaid
        baseCurrencyId
        couponApplied
        createdAt
        credits
        currencyId
        description
        dueAt
        id
        isLegacy
        issuedAt
        kind
        netPaymentDays
        notes
        number
        paidAt
        payableId
        poNumber
        portalUrl
        quoteId
        smallUnitAmountDue
        subtotal
        taxAmount
        updatedAt
        url
        uuid
      }
      subscription {
        accountId
        cancellationDate
        createdAt
        currencyId
        endDate
        evergreen
        id
        name
        period
        priceAdjustmentAllowed
        priceAdjustmentLastDate
        priceAdjustmentPercentage
        priceListId
        provisioningRequired
        rampIntervalMonths
        renewalSummary
        renewalTermMonths
        startDate
        trialEndDate
        trialPeriod
        trialStartDate
        updatedAt
      }
  }
}

Arguments

{
  "id": "456123",
  "trialEndDate": "2022-06-01"
}
Name
Type
Description

id

ID

trialEndDate

ISO8601Date

Response

Name
Type
Description

errors

List (String)

invoice

subscription

Last updated

Was this helpful?