Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

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)