Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I'm currently implementing a subscription system for my app, I'm already receiving the app_subscriptions/update webhook via google pub/sub.
The data I receive is the following:
app_subscription: {
admin_graphql_api_id: 'gid://shopify/AppSubscription/XXXXXXXX',
name: 'Entry',
status: 'ACTIVE',
admin_graphql_api_shop_id: 'gid://shopify/Shop/XXXXXXXX',
created_at: '2024-09-20T23:20:34-04:00',
updated_at: '2024-09-20T23:20:36-04:00',
currency: 'USD',
capped_amount: null
}
However, I am at the point where I do not know how to continue to be able to query the data of subscription and store to allow access to my product. What I need is to obtain the store's email data, the date on which the subscription starts and ends.
I appreciate any light you can give me. Good day.