Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have a development store and I am trying to do appSubscriptionCreate mutation for the store, but I'm getting "Apps without a public distribution cannot use the Billing API" error from Shopify graphql response. I was able to make this query before updating the graphql version to the latest (2022-07). Besides, I set test=true so it shouldn't matter whether the app is public or not I thought? Could someone assist me with this issue please? Thank you!
mutation appSubscriptionCreate($name: String!, $lineItems: [AppSubscriptionLineItemInput!]!, $returnUrl: URL!, $test: Boolean, $trialDays: Int) { appSubscriptionCreate(name: $name, lineItems: $lineItems, returnUrl: $returnUrl, test: $test, trialDays: $trialDays) { appSubscription { id name status test } confirmationUrl userErrors { field message } } }
Solved! Go to the solution
This is an accepted solution.
I noticed the same thing, was able to resolve it using the following steps:
1. Edit your app
2. Click on "Distribution" from the menu on the left
3. Choose "Shopify Store" as distribution
This should solve the issue.
This is an accepted solution.
I noticed the same thing, was able to resolve it using the following steps:
1. Edit your app
2. Click on "Distribution" from the menu on the left
3. Choose "Shopify Store" as distribution
This should solve the issue.
Thank you so much for taking a time to respond! I was able to get it working by following the suggested steps!
Thanks, this saved me so much time
Thank you so much!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025