Access denied for appSubscriptionCreate

Solved
New Member
2 0 1

Hello Team,

I have facing an issue of creating recurring charge in annual subscription with graphql api. I got the following error of InputObject 'AppRecurringPricingInput' doesn't accept argument 'interval' :-

Fatal error: Uncaught PHPShopify\Exception\ApiException: message - InputObject 'AppRecurringPricingInput' doesn't accept argument 'interval', locations - line - 11, column - 21, path - mutation, appSubscriptionCreate, lineItems, 0, plan, appRecurringPricingDetails, interval, extensions - code - argumentNotAccepted, name - AppRecurringPricingInput, typeName - InputObject, argumentName - interval in /home/.........

Note: I have used the reference from this URL:-  https://shopify.dev/tutorials/create-an-annual-subscription

 

Team, Please resolve this issue as soon as possible.

New Member
2 0 1

Did you have this resolved? I am facing the same issue

0 Likes
Tourist
9 0 4

Use the latest stable endpoint

/admin/api/2020-10/graphql.json
0 Likes