Free plans
Using the CLI
- To migrate subscriptions to free plans, create a file named
free-subscriptions.jsoncontaining all subscriptions that you want to import. The file must follow this schema:
- Initiate the bulk import process:
Using the API and SDKs
Use theimportSubscriptionsBulk mutation.
The
importSubscriptionsBulk mutation supports up to 1,000 subscriptions per request and has a rate limit of 400 requests per minute. It runs asynchronously. The request returns a taskId, and Stigg creates the subscriptions in the background. Large imports can take several hours to finish. See how imports are processed and tracking subscription imports.Paid plans
To migrate subscriptions to paid plans, repeat the below process for each subscription:-
Provision a subscription in Stigg with the start date of the subscription that currently exists in your billing provider and include the
billingInformation.isBackdated: trueproperty. Doing so will create the subscription as backdated in the billing provider and ensure that customers will be billed again for the subscription starting from the next billing period. You may optionally sync additional metadata for the subscription that’s synced to the billing provider to indicate that this is a migrated subscription by passing thebillingInformation.metadataproperty when provisioning the subscription Stigg. - Confirm that the new subscription was created in both Stigg and your billing provider. Don’t cancel the original subscription before this point, or the customer may lose billing or access.
-
Cancel the original subscription in your billing provider. Choose one of these options:
- Cancel immediately, without prorations. Use this by default. The new subscription becomes the customer’s only active subscription right away.
- Schedule the cancellation for the end of the current billing period. Use this when you want the original subscription to stay active for the period the customer already paid for, for example because other systems still read it. The original subscription ends when the new one starts billing, so the customer isn’t charged twice.

Custom plans
Using the CLI
- To migrate subscriptions to custom plans, create a file named
custom-subscriptions.jsoncontaining all subscriptions that you want to import.
entitlements array must contain either a feature or a credit key - not both:
- Feature entitlements - set usage limits for features (e.g., number of seats or projects).
- Credit entitlements - grant a recurring credit allowance for a specific currency. The imported credits appear as recurring credit grants on the customer’s subscription. The
cadencefield determines the grant renewal period:MONTHorYEAR.
- Initiate the bulk import process:
Using the API and SDKs
Use theimportSubscriptionsBulk mutation. See the GraphQL schema reference in Apollo Studio for all available fields and examples.
The
importSubscriptionsBulk mutation supports up to 1,000 subscriptions per request and has a rate limit of 400 requests per minute. It runs asynchronously. The request returns a taskId, and Stigg creates the subscriptions in the background. Large imports can take several hours to finish. See how imports are processed and tracking subscription imports.