Focuses on API authentication, access scopes, and permission management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I have requested and been granted access to the Subscription API.
I have created an embedded app for testing.
The api_access screen for the app says that I have full access for the Subscription API.
But when I query subscriptionContracts from the embedded app, I get Access Denied response.
(Querying products returns a valid response, so I know that the app is working correctly).
Similarly - I can create a webhook using topic PRODUCTS_UPDATE, but trying to create a webhook using SUBSCRIPTION_CONTRACTS_CREATE returns null.
What am I missing?
Hi Clare_oneill,
Just to confirm, you do have the necessary scopes, read_own_subscription_contracts
and write_own_subscription_contracts
?
Also if you have made recent changes to your app's scopes, you may need to reinstall the app to your development store for the changes to take effect.
Try the above and let us know if you're still running into issues.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi Liam,
Thanks for this.
I have the necessary scopes included and have reinstalled the app, but still seeing the same results.
Thanks
If scopes are all correct and the app is configured correctly, I'd recommend reaching out to our partner support who can take a deeper look into your app, to see if there's errors visible on our side.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog