Skip to main content
MUTATION
migrateSubscriptionToLatest(input: SubscriptionMigrationInput!): CustomerSubscription!

Arguments

additionalMetaData
JSON
Arguments
filter

Specify to filter the records returned.

sorting
default:[{direction: DESC, field: createdAt}]

Specify to sort results.

billingCycleAnchor
DateTime

Billing cycle anchor date

billingId
String
billingLinkUrl
String
billingPeriod

The billing period of the subscription

billingSyncError
String

Budget configuration

budgetExceeded
Boolean

Indicates if the budget has been exceeded

cancellationDate
DateTime
contractId
String

Active coupon for this subscription

List of coupons for this subscription

createdAt
DateTime
crmId
String
crmLinkUrl
String
currentBillingPeriodEnd
DateTime
currentBillingPeriodStart
DateTime
customer
customerId
UUID
effectiveEndDate
DateTime
endDate
DateTime

The list of entitlements (feature and credit) associated with the subscription

environment
environmentId
UUID!
experiment
experimentInfo
futureUpdates
id
UUID!
isCustomPriceSubscription
Boolean
deprecated
Use paymentCollectionMethod field and look for 'None' value
lastUsageInvoice
latestInvoice

Minimum spend configuration

oldBillingId
String
outdatedPricePackages
[String!]
payingCustomer
payingCustomerId
UUID
paymentCollection
paymentCollectionMethod

Payment collection method of the subscription

plan
Arguments
filter
default:{billingModel: {neq: MINIMUM_SPEND}}

Specify to filter the records returned.

sorting
default:[{direction: DESC, field: createdAt}]

Specify to sort results.

pricingType
refId
String!
deprecated
Renamed to subscriptionId
resourceId
UUID
salesforceId
String
scheduledUpdates
startDate
DateTime!
subscriptionEntitlements
Use entitlements field instead which includes both feature and credit entitlements
Arguments

Specify to filter the records returned.

sorting
default:[{direction: DESC, field: createdAt}]

Specify to sort results.

subscriptionId
String!
syncStates
trialConfiguration

Trial configuration

trialEndDate
DateTime
wasInTrial
Boolean
Mutation
Variables
Response