Hi Shopify dev community (and Shopify devs!)
I have come to the sad realization that there is no GraphQL equivalent to the “source_name” field that exists on the REST “transaction” resource. This is something that we have been using both in our app when calculating prior refunds and how they should affect specific items. But the field has also been useful to our support side when issues with refunds has occurred in the past. The source_name field is important since it displays an id of what source made the refund. Through this we have been able to prove that we were / weren’t behind a specific refund. It has also been useful information to provide to Shopify support in the rare cases were that has been needed.
The guides and the suggestion that has come up is to manually enter something whenever we issue refunds (in the note field, or as a metafield and so on). The problem with this is that it can be replicated and isn’t something reliable we can point to if issues would arise. And it is not backwards compatible since we cannot go through all prior refunds and make sure they follow a specific pattern.
This is my formal request to implement support for “source_name” in GraphQL that exists on the REST transaction reference. Thanks for reading