Mutation
Parameters
Input for provisioning a customer
Return Type
Returns aProvisionedCustomer object with:
| Field | Type | Description |
|---|---|---|
customer | Customer | The created customer |
subscription | CustomerSubscription | The created subscription (if requested) |
entitlements | [Entitlement] | Resulting entitlements |
subscriptionDecisionStrategy | SubscriptionDecisionStrategy | How subscription was determined |
Examples
Basic Customer Creation
Customer with Free Plan
Customer with Trial
Customer with Addons
Common Use Cases
User signup
User signup
Create customer when user signs up, optionally with a free or trial plan.
Upgrade from anonymous
Upgrade from anonymous
Provision customer when anonymous user converts to registered.
B2B onboarding
B2B onboarding
Create organization customer with initial subscription during onboarding.
Related Operations
- Create Customer - Create customer without subscription
- Provision Subscription - Add subscription to existing customer
- Get Customer - Retrieve customer
