Hi all i Need help on Shopify Partner to get the all the transaction real time.

1080
Shopify Partner
267 8 39

Hi I am creating business tools for the my client they want to get the all the app subscription data into their  business tools with real time all the transaction.

I am refereeing  this partner blog but not find all the details input Shopify Partner.

does any webhook option,
API https://www.shopify.com/in/partners/blog/partner-api 

`query {
transactions(types: [APP_SUBSCRIPTION_SALE]) {
edges {
node {
id
createdAt
... on AppSubscriptionSale {
netAmount {
amount
}
app {
name
}
shop {
myshopifyDomain
}
}
... on ServiceSale {
netAmount {
amount
}
shop {
myshopifyDomain
}
}
}
}
}
}
`

Replies 4 (4)
cdarne
Shopify Staff
Shopify Staff
30 5 14

Hi!

 

If I understand well your questions, you'd like to know if it's possible to subscribe to a webhook topic to get all the app subscriptions in real time. Unfortunately we don't provide such webhook topic but we provide a way to get notified when an app subscription is updated: https://shopify.dev/docs/api/admin-graphql/unstable/enums/WebhookSubscriptionTopic#value-appsubscrip....

 

I hope this helps.

 

Cheers,
 
Cedric | Developer @ Shopify 

To learn more visit the Shopify Help Center or the Community Blog.

1080
Shopify Partner
267 8 39

@cdarne  Thanks lot for the your valuable answers  This is web hook from the partner API or app development ?
if you can share any code reference that was really help me. 

cdarne
Shopify Staff
Shopify Staff
30 5 14

Hey! The API is for the App development: the required code depends on which language/framework you use. Here's a good starting point to help you create webhooks: https://shopify.dev/docs/apps/webhooks/configuration

To learn more visit the Shopify Help Center or the Community Blog.

1080
Shopify Partner
267 8 39

@cdarne  I am using the node react repo from the shopify  git https://github.com/Shopify/shopify-app-template-node 
can you please help with any code snippets.