Good day,
Try using the order API to cancel a refund order using the following object when posting:
POST /admin/api/2021-04/orders/{id}/cancel.json
{
"amount": "10.00",
"currency": "USD"
}
But every time I try I get the following error message: “Amount must be less than net payment”
I make sure that the value entered in amount is less than or equal to the price of the product but it still sends me that error message.
Does anyone know the correct way to cancel a refund order using the shopify API
me aseguro de que el valor ingresado en amount sea menor o igual al precio del producto pero aun así me envía ese mensaje de error.
Alguien conoce la manera correcta de cancelar una orden con rembolso utilizando el API de shopify