BUG Report: Indistinguishable payload between fulfilled item refunds and cancellations

https://www.loom.com/share/6ddcbc5c78a749ddb01fa36f4afb1d4b

The loom video above shows the issue where there is an indistinguishable payload between refunds for already fulfilled items that occur (for example due to integration with Loop Returns where customer intends to return but is refunded ahead of time) vs. line item cancellations for unfulfilled items.

Please advise on this bug.

Hi @Kalvin_Mizzi In order to investigate a bug report we will require further information on how the app in question is interacting with the API such as the request body and headers, as well any response errors and response headers (x-request-id, cursor) from the error. Our API team can then take a look using internal tools and logs. If you can submit this issue using the Report an Issue Form here https://help.shopify.com/en/questions/partners#/contact/report-an-issue it will help expedite the process as this will enable us to authenticate access where necessary. Thank you.