Hi, is it possible to revert a lineitem refund done for an order?
Assuming a call was made to refund a line item with an incorrect amount:
curl --request POST \ --url 'https://scl-sandbox.dev.clover.com/v1/orders/{orderId}/returns' \ --header 'accept: application/json' \ --header 'authorization: Bearer ...' \ --header 'content-type: application/json' \ --data '{"items":[{"parent":"{lineItem}","amount":{incorrectAmount}, "quantity":1,"type":"sku"}]}'
Is it possible to revert the above refund, calculate the correct amount for the lineitem and reissue another refund?
Are there any workaround if such a mistake occurs?