Types
SubscriptionQuery
Query for subscriptions
object
SubscriptionQueryFields
additionalMetaData
JSON
addons
Arguments
filter
default:{}
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
Budget configuration
budgetExceeded
Boolean
Indicates if the budget has been exceeded
cancelReason
cancellationDate
DateTime
Subscription cancellation date
contract
contractId
String
coupon
coupons
createdAt
DateTime
Created at
crmId
String
crmLinkUrl
String
currentBillingPeriodEnd
DateTime
currentBillingPeriodStart
DateTime
customer
customerId
String
Customer ID
effectiveEndDate
DateTime
endDate
DateTime
entitlements
The list of entitlements (feature and credit) associated with the subscription
environment
environmentId
UUID!
Environment ID
experiment
experimentInfo
freeItems
Free items included in the subscription
id
UUID!
lastUsageInvoice
latestInvoice
minimumSpend
Minimum spend configuration
oldBillingId
String
payingCustomer
payingCustomerId
UUID
paymentCollection
Payment collection
paymentCollectionMethod
Payment collection method of the subscription
plan
Plan!
prices
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
resource
resourceId
String
Resource ID
salesforceId
String
Salesforce ID
scheduledUpdates
startDate
DateTime!
Subscription start date
status
Subscription status
subscriptionEntitlements
deprecated
Use entitlements field instead which includes both feature and credit entitlements
subscriptionId
String!
Subscription ID
syncStates
[SyncState!]!
totalPrice
trialConfiguration
Trial configuration
trialEndDate
DateTime
wasInTrial
Boolean