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
}
}
}