We are trying to use the new Exchange API, but are failing to make a returnCreate call from a return request. As we show here in detail https://www.youtube.com/watch?v=peTHzR-GQXo
2. Timeframe - When did this happen?
We tried it many times, last try was Sunday 14th of July at 14:13pm german summertime.
It happens the first time, because the feature was only released with the API version (SummerEditions) 2024.
3. Environment & Scope of the Issue - Which app is making the API call? URL of app in Partner Dashboard or Store Admin is best:
Thanks for explaining this very well and including a video too - I’ve reached out to the product team in this area to assist with troubleshooting this. I will update here when I have more info.
After connecting with our product team on this, it looks like the issue you’re experiencing is because you’re creating a return for an item that’s already part of another return (in the requested state). In the second example (through the native admin) you’re able to complete the flow successfully because the item to be returned is not in another return. You cannot add exchange items to a requested return via API today - instead you should use the returnCreate mutation.
If this mutation/ flow doesn’t work for you, can you explain why you want to add exchange items to a requested return, rather than creating a return given you have a return app that seems to approve/decline the returns?
Hi @Liam , nice to hear from you, maybe you remember we met in Berlin a couple years ago.
You cannot add exchange items to a requested return via API today - instead you should use the returnCreate mutation.
That’s the point. It seems there is a endpoint for that. If you have a return request and you accept this one with a exchange item shopify-admin is doing the following call:
Exactly this call is essential important to accept a return request via the api and add the exchange informations. But this call/mutation is not available for us partners/dev’s.
A colleague of you also mentioned there exist this mutation: