question

jms avatar image
jms asked David Marginian Deactivated answered

Revert a line item refund

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?

e-commerce apiRefundLineItems
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

Unfortunately, there isn't much you can do in this scenario.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community