For discussing the development and integration of subscription-enabled shops using Shopify's Subscription APIs.
I would require to be able to receive the event specified on this page: https://shopify.dev/api/partner/2022-04/objects/SubscriptionChargeAccepted
How can I subscribe to the following webhook topics: SubscriptionChargeAccepted, SubscriptionChargeActivated, SubscriptionChargeActivated objects?
Since these events are app-specific and not store-specific, what would the endpoint be?
Hello! Thanks for the question.
This forum section is typically for question regarding subscriptions and selling plans (customers purchasing subscriptions). But I did reach out to our app developer team and got this response:
It looks like they want to make a Partner API client and use that to query for app events. You can make a partner API client in the partner org settings:
https://partners.shopify.com/{orgId}/settings/partner_api_clients
app(id: {some app id}) { events(first: 100) { edges { node { type occurredAt shop app { name } } } } }
They said that the app events were not webhooks, so you would need to fetch it each time. The existing webhooks that have "subscription" in the name reference the recurring purchase type of subscription, not for app development. Apologies if that caused any confusion.
To learn more visit the Shopify Help Center or the Community Blog.