Exchange API - createReturn from based on a returnRequest

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:

mutation returnEditAddExchangeLineItems($input: ReturnEditAddExchangeLineItemsInput!) {
  returnEditAddExchangeLineItems(input: $input) {

I guess this is internally used but not a public one.

Glad to hear from you Liam, have a great day!