Subscription
The Subscription type in Bunny's GraphQL API and its fields.
| Name | Type | Description |
|---|---|---|
| account | Account | |
| accountId | ID | |
| addonSubscriptions | List (Subscription) | Addon subscriptions for the subscription |
| cancellationDate | ISO8601Date | |
| chargeReport | List (SubscriptionCharge) | |
| charges | List (SubscriptionCharge) | |
| createdAt | ISO8601DateTime | |
| currencyId | ID | |
| currentCharges | List (SubscriptionCharge) | |
| currentPeriod | String | Formatted period showing start and end dates |
| customFieldDefinitions | List (CustomField) | Custom field definitions for this object type |
| customFieldsData | JSON | All custom field values for this object as a JSON object |
| daysLeftInTrial | Int | |
| endDate | ISO8601Date | |
| entity | Entity | |
| entityId | ID | |
| evergreen | Boolean | |
| hasCustomFields | Boolean | Whether this object type has any custom fields defined |
| id | ID | |
| licenseInstances | List (SubscriptionLicenseInstance) | Observed instances for this subscription |
| licenseKey | String | UUID license key for SDK-based license validation |
| name | String | |
| period | String | |
| plan | Plan | |
| priceAdjustmentAction | PriceAdjustmentAction | |
| priceAdjustmentActionOptions | List (String) | |
| priceAdjustmentAllowed | Boolean | |
| priceAdjustmentLastDate | ISO8601Date | |
| priceAdjustmentPercentage | Float | |
| priceAdjustmentTiming | PriceAdjustmentTiming | |
| priceAdjustmentTimingOptions | List (String) | |
| priceList | PriceList | |
| priceListId | ID | |
| product | Product | |
| provisioningRequired | Boolean | |
| rampIntervalMonths | Int | |
| renewalSummary | String | Description of the renwal settings |
| renewalTermMonths | Int | Number of months for the renewal term |
| renewalTermMonthsOptions | List (RenewalTermOption) | |
| startDate | ISO8601Date | |
| state | SubscriptionState | |
| tenant | Tenant | |
| trialEndDate | ISO8601Date | |
| trialExpirationAction | TrialExpirationAction | |
| trialPeriod | String | |
| trialStartDate | ISO8601Date | |
| updatedAt | ISO8601DateTime |