POST/v1/tenants/{tenantId}/ecom_stores/{eComStoreId}/orders/{salesOrderId}/refunds/{refundId}/confirm
Confirm refund
Marks the credit document financially settled after the refund has been processed.
Parameters
tenantIdrequiredeComStoreIdrequiredsalesOrderIdrequiredrefundIdrequired
Request body (optional)
application/jsonRequest body for confirming a refund on a return invoice
refundedAmountoptionalAmount refunded, if applicable
- Format: BigDecimal
Example"299.00"statusrequiredRefund status
Allowed values"CONFIRMED""FAILED"Example"CONFIRMED"
Responses
No response body documented.
400Bad Request - Refund is not a return order invoice or is not open
Bad Request - Refund is not a return order invoice or is not open
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
401Unauthorized - Invalid or missing authentication
Unauthorized - Invalid or missing authentication
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
404Not Found - Refund not found or does not belong to this ecom store's order
Not Found - Refund not found or does not belong to this ecom store's order
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
500
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"