We have a webshop for shoes, and if shoes, which are in the sale, are send back we want to charge the customer with extra shipping costs. (5 euro)
Now I use the POST V1/invoice/:invoiceId/refund
Can somebody tell me how to do this?
Gr, Peter
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityChange the JSON format of the API request.
Have a look at this example,
{
"invoiceId": "12345",
"refundAmount": 45, // Original purchase amount
"shippingCost": 5 // Additional shipping cost for returned shoes on sale
}