Skip to main content
objectSubscriptionQuery

Fields

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

Billing ID

billingLinkUrl
String
billingPeriod

The billing period of the subscription

billingSyncError
String

Budget configuration

budgetExceeded
Boolean

Indicates if the budget has been exceeded

cancellationDate
DateTime

Subscription cancellation date

contractId
String
createdAt
DateTime

Created at

crmId
String
crmLinkUrl
String
currentBillingPeriodEnd
DateTime
currentBillingPeriodStart
DateTime
customer
customerId
String

Customer ID

effectiveEndDate
DateTime
endDate
DateTime

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

environment
environmentId
UUID!

Environment ID

experiment
experimentInfo

Free items included in the subscription

id
UUID!
lastUsageInvoice
latestInvoice

Minimum spend configuration

oldBillingId
String
payingCustomer
payingCustomerId
UUID
paymentCollection

Payment collection

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

Pricing type

refId
String!
deprecated
Renamed to subscriptionId
resourceId
String

Resource ID

salesforceId
String

Salesforce ID

scheduledUpdates
startDate
DateTime!

Subscription start date

Subscription status

subscriptionEntitlements
Use entitlements field instead which includes both feature and credit entitlements
subscriptionId
String!

Subscription ID

syncStates
trialConfiguration

Trial configuration

trialEndDate
DateTime
wasInTrial
Boolean