Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi,
I want to find a list of webhooks topics for GraphQL, because the only ones I find are in lowercase this:
{
"webhook": {
"topic": "orders/create",
"address": "https://12345.ngrok.io/",
"format": "json"
}
}
And I want them in this format with uppercase and underscores:
webhookSubscriptionCreate(
topic: ORDERS_CREATE
webhookSubscription: {
format: JSON,
callbackUrl: "https://12345.ngrok.io/"}
)
I tried to change the format just by change the words to uppercase and using the underscores, but in some webhooks it doesn't work, is it there an official list or something where I can see all of them in this format?
Solved! Go to the solution
This is an accepted solution.
It was hard to find, but I finally found what I needed. I leave the link to the docs if anyone else has a hard time finding this: https://shopify.dev/api/admin/graphql/reference/events/webhooksubscriptiontopic
This is an accepted solution.
It was hard to find, but I finally found what I needed. I leave the link to the docs if anyone else has a hard time finding this: https://shopify.dev/api/admin/graphql/reference/events/webhooksubscriptiontopic