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
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024