Type Definition
Fields
Core Fields
| Field | Type | Description |
|---|---|---|
id | UUID! | Unique identifier for the plan |
refId | String! | Your application’s unique identifier for this plan |
displayName | String! | Display name shown to customers |
description | String | Plan description |
status | PackageStatus! | Publication status (DRAFT, PUBLISHED, ARCHIVED) |
type | String! | Package type identifier |
versionNumber | Int! | Version number of this plan |
isLatest | Boolean | Whether this is the latest version |
isParent | Boolean! | Whether this plan has child plans |
Pricing
| Field | Type | Description |
|---|---|---|
pricingType | PricingType | Type of pricing (FREE, PAID, CUSTOM) |
prices | [Price!] | Price configurations for this plan |
overagePrices | [Price!] | Overage pricing for usage-based features |
overageBillingPeriod | OverageBillingPeriod | When overage is billed |
minimumSpend | [MinimumSpend!] | Minimum spend configuration |
Entitlements
| Field | Type | Description |
|---|---|---|
packageEntitlements | [PackageEntitlementUnion!] | Entitlements included in this plan |
inheritedPackageEntitlements | [PackageEntitlementUnion!] | Entitlements inherited from base plan |
Related Entities
Trial Configuration
| Field | Type | Description |
|---|---|---|
defaultTrialConfig | DefaultTrialConfig | Default trial settings for this plan |
PackageStatus Enum
| Value | Description |
|---|---|
DRAFT | Plan is in draft mode, not available for subscription |
PUBLISHED | Plan is published and available for subscription |
ARCHIVED | Plan is archived and no longer available |
PricingType Enum
| Value | Description |
|---|---|
FREE | Plan has no charge |
PAID | Plan requires payment |
CUSTOM | Plan has custom pricing |
Example Response
Related Types
- Price - Price configuration type
- Addon - Addon type
- Feature - Feature type
- Entitlement - Entitlement type
Related Operations
- Get Plan - Fetch a single plan
- List Plans - Query plans
- Create Plan - Create new plan
- Publish Plan - Publish plan changes
