Graphql: find location in which an item was returned

I’m switching some integration code from the REST API to Graphql but I’m struggling to get the location on which a return has been created. If a customer buys a product on the webshop and returns it in a certain physical store, where in the graphql structure can I find the location of that store?

Thanks!
Sebastiaan

Hi Sebastiaan,

From looking into this, it does seem that the Return object doesn’t directly include a location field. This info could be gotten from the reverseFulfillmentOrders field that’s on returns, where you should be able to access ReverseFulfillmentOrderDisposition which has a location field.

It’s a bit hard to find in the docs, so I made a video of where it’s found on the return object page: https://screenshot.click/15-01-nutqo-awa8d.mp4