For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
We are using this code
curl -d '{"webhook":{"topic":"subscription_billing_attempts\/challenged","address":"https:\/\/9232-193-138-245-92.ngrok.io\/","format":"json","fields":["id","note"]}}' -X POST "https://stor.myshopify.com/admin/api/2021-10/webhooks.json" -H "X-Shopify-Access-Token: {access_token}"
Instead of {access_token} wу are using password from private app , but in this case we are getting this error: {"error":"Required parameter missing or invalid"} , what can be the cause?
If {access_token} is not a password from private app , so then where can we het {access_token}?
Hi there!
I'm not sure if the authentication is the problem here, the error message could be suggesting that there is something else causing the issue.
In case it really is the authentication, these links might help you get to the proper token:
https://shopify.dev/api/admin-rest#authentication
I hope these help you, otherwise let us know.
To learn more visit the Shopify Help Center or the Community Blog.