On this page
Why adding an API scope is not enough
Subscription functionality is more than a product metafield or a recurring discount. Selling plans and subscription contracts are controlled resources, and Shopify requires eligible app architecture and access. An admin-created custom app may work for product reads or ordinary inventory updates while remaining unsuitable for subscription API operations. Older tutorials that start by creating a custom app under store admin and then adding arbitrary scopes can therefore lead developers into a dead end.
Choose the right implementation path
- Confirm the use case: are you only displaying subscription options already managed by an installed subscription app, or building an app that owns selling plans and contracts? These require different capabilities.
- Check the current app’s origin. If it was created directly in Shopify admin, do not assume that toggling a scope will unlock subscriptions.
- For a purpose-built subscription app, create and configure the app in the Shopify Dev Dashboard. Review Shopify’s subscriptions access-request process and app requirements before implementation.
- Configure the required scopes documented for your operation. Shopify’s selling-plan tutorial lists write_products, read_customer_payment_methods, read_own_subscription_contracts, and write_own_subscription_contracts for its workflow; actual access must be granted, not merely written in a configuration file.
- Use supported selling-plan group mutations to create or update the offer and associate products. Inspect userErrors and verify the product’s Purchase options in admin and on the storefront.
- Plan ownership and uninstall behavior. Shopify warns that selling-plan-related records owned by a subscription app can be deleted after app uninstall; back up and design a safe exit process.
When not to build a custom subscription app
If the requirement is a simple Subscribe & Save offer, an established subscription app may already handle customer consent, payment methods, renewals, portal controls, failed billing, and contracts. A theme selector alone does not create subscription billing. A custom app should have a clear reason to own this operational complexity.
- Identify the app creation path and record the API scopes and protected-access approval state.
- On a development store, install the eligible Dev Dashboard app and confirm authentication and granted scopes.
- Create a disposable product and use the documented selling-plan group workflow; inspect mutation userErrors.
- Verify the product’s Purchase options, storefront subscription choice, cart selling-plan association, and hosted checkout.
- Place a controlled test subscription order and verify a contract is created and visible to the owning app.
- Check failed permission scenarios and uninstall/reinstall planning before allowing live customers to subscribe.

