Mutation
Parameters
Input for provisioning a subscription
Return Type
Returns aProvisionSubscriptionResult with:
| Field | Type | Description |
|---|---|---|
subscription | CustomerSubscription | The created subscription |
entitlements | [Entitlement] | Resulting entitlements |
Examples
With Trial Period
With Addons
Scheduled Start
Custom Plan with Entitlements
Custom plans use theentitlements field to define what the subscription grants — this can include feature entitlements (access flags, usage limits) and credit entitlements (recurring credit allocations).
Common Use Cases
Upgrade from free
Upgrade from free
Create paid subscription for customer on free plan.
Multi-product subscription
Multi-product subscription
Add subscription to additional product for existing customer.
Trial conversion
Trial conversion
Provision paid subscription when trial customer converts.
Related Operations
- Provision Customer - Create customer with subscription
- Update Subscription - Modify subscription
- Preview Subscription - Preview pricing
