App reviews, troubleshooting, and recommendations
I needs to use all three APIs.
What API access does my app need, and what access scope should I request from the store?
Thank you for your help.
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/appSubscriptionCreate
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/appSubscriptionCancel
https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/appPurchaseOneTimeCreate
I am curious about this answer now. When I run the mutations through GraphQL Explorer. I get
{
"errors": [
{
"message": "Access denied for appPurchaseOneTimeCreate field.",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"appPurchaseOneTimeCreate"
],
"extensions": {
"code": "ACCESS_DENIED",
"documentation": "https://shopify.dev/api/usage/access-scopes"
}
}
],
"data": {
"appPurchaseOneTimeCreate": null
},
"extensions": {
"cost": {
"requestedQueryCost": 10,
"actualQueryCost": 10,
"throttleStatus": {
"maximumAvailable": 2000,
"currentlyAvailable": 1990,
"restoreRate": 100
}
}
}
}
Any update on this matter? I have the same problem.
After searching a little more, it might be possible that you're getting this error because your app is not a public app.
When I was trying out my mutation on my app, I was getting no data:
Array ( [appPurchaseOneTimeCreate] => Array ( [appPurchaseOneTime] => [confirmationUrl] => ) )
so I added
userErrors {
field
message
}
to my mutation to have more information. Then I could see this message displaying: Apps without a public distribution cannot use the Billing API.
See these threads:
Hope it helps.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025