Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I've subscribed to the REFUNDS_CREATE webhook using GraphQL's webhookSubscriptionCreate. According to documentation, I expect that the refunds/create topic's response will contain the return data (i.e. id of the return) if the refund contains the return lines.
Now, I create the return from the Return Items tab from admin for testing purposes.
Then, I create a refund from the created return, That time I do receive the response from the webhook but I can't see any fields associated to return.
Do anyone know why I'm unable to receive the return's data, Is there anything that I'm missing?