Offer free trials with the Billing API
Free trials allow merchants to experiment with apps before they commit to paying for the app. Free trials delay the start of an app's billing cycle by the number of days specified. Free trials are available only to merchants who agree to a new subscription, and can't be added to existing subscriptions.
You can also offer a free, Partner-friendly version of your app for developers to try in development stores.
Set your free trial duration
Anchor link to section titled "Set your free trial duration"You can use the appSubscriptionCreate
mutation to add a free trial. You add the trialDays
argument to the mutation's input:
View response
JSON response:
Offer free testing for development stores
Anchor link to section titled "Offer free testing for development stores"Shopify Partners are more likely to recommend apps they've used before. Consider offering free app testing on development stores to help increase your app sales.
You can identify a development store by querying the Shop resource. Development stores return { "plan_name" : "affiliate" }
.
When a store installs your app, and you identify it as a development store, don't create an app charge in Shopify.
You should also subscribe to the shop/update
webhook in case the development store changes to a paid plan later. If you receive a notification that a development store has changed to a paid plan, then block access to your app and create an app charge for the paid plan. When the user agrees to the charge, you can unblock their access to the app.
If you make your app free for development stores, then contact us to get your app listed on our Partner-friendly app list.