Hi
I have an app that retrieves order details via the Shopify API. When an order is refunded or partially refunded I can see the relevant refund details in the API response under the refunds key.
When I have an order with an exchange, the refund key is empty. I can see an order line item for the originally purchased item, and a line item for the exchanged item, but there is nothing in the order response to indicate that a return or refund took place so it just appears that the customer purchased both items.
Is there a way of retrieving the exchange details from the API?
Thanks in advance