Offer free trials
Free trials enable merchants to experiment with apps before they commit to paying for them. Shopify Partners are more likely to recommend apps that they've used before.
To help increase your app sales, use the GraphQL Admin API to offer free app trials for merchants to try. You can also use trials to allow affiliate Partners trial access to your app when they build stores on behalf of merchants.
Set a free trial duration
Anchor link to section titled "Set a free trial duration"Free trials delay the start of an app's billing cycle by a number of specified days.
You can use the GraphQL Admin API's appSubscriptionCreate
mutation to add a free trial. To extend a free trial, use the Admin API's appSubscriptionTrialExtend
mutation.
Set up free testing
Anchor link to section titled "Set up free testing"Free testing doesn't create an app charge in Shopify. You can identify a development store by querying the GraphQL Admin API's Shop
resource. Development stores return the following key/value pair:
We recommend subscribing to the SHOP_UPDATE
webhook to get notified if the development store changes to a paid plan. If you receive this webhook, then block access to your app and create an app charge for the paid plan. After the user agrees to the charge, unblock their access to the app.
Limitations
Anchor link to section titled "Limitations"- Free trials are available only to merchants who agree to a new subscription, and can't be added to existing subscriptions.