Ability to programmatically provision trial subscriptions
We've added the ability to programmatically provision subscriptions in a free trial using the Stigg SDKs and API. Doing so allows you to implement custom user journeys, such as granting customers a free trial to higher tiers when they reach a certain achievement.
Programmatic provisioning of trial subscriptions overrides the default trial configuration in the Stigg app UI, which can be edited using no-code.
To force the provisioning of a subscription in a free trial, pass the TrialOverrideConfigurationInput
parameter to the provisionSubscription method. To extend an existing trial, pass the trialEndDate
parameter to the updateSubscription method.
The new functionality is supported in the Stigg Node.js SDK v2.46.0, Stigg Python SDK v0.712.0, Stigg Ruby SDK v0.712.0, Stigg Go SDK v0.712.0, Stigg Java SDK v0.712.0 or later, as well as via the GraphQL API.