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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024