refunds/create webhook response doesn't contain data of return as mentioned in document.

refunds/create webhook response doesn't contain data of return as mentioned in document.

Yagnesh
Shopify Partner
5 0 1

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.

Yagnesh_0-1672030276011.png

Now, I create the return from the Return Items tab from admin for testing purposes.

Yagnesh_1-1672030329974.png

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.

Yagnesh_2-1672030420289.png

Do anyone know why I'm unable to receive the return's data, Is there anything that I'm missing?

Replies 0 (0)