subscriptionTrialConvertPreview

Graphql fields and variables for the subscriptionTrialConvertPreview mutation

Preview of a existing trial subscription conversion

Scope required: standard:write

mutation subscriptionTrialConvertPreview ($subscriptionId: ID!) {
  subscriptionTrialConvertPreview (subscriptionId: $subscriptionId) {
      errors
      invoice {
        accountId
        amount
        amountDue
        amountPaid
        baseCurrencyId
        baseCurrencyTotal
        couponApplied
        createdAt
        credits
        currencyId
        description
        dueAt
        hasPaymentMethod
        id
        isLegacy
        issuedAt
        kind
        netPaymentDays
        notes
        number
        paidAt
        payableId
        paymentFailedAt
        paymentFailureReason
        poNumber
        portalUrl
        quoteId
        sendInvoiceTo
        smallUnitAmountDue
        subtotal
        taxAmount
        taxRate
        updatedAt
        url
        uuid
      }
      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

{
  "subscriptionId": "456123"
}
Name
Type
Description

subscriptionId

ID

Response

Name
Type
Description

errors

List (String)

invoice

subscription

Last updated

Was this helpful?