Newer Version Available
Order Summaries, Ensure Refunds Async
Ensure refunds for a credit memo by sending a request to a payment
provider. This method inserts a background operation into an asynchronous job queue and
returns the ID of that operation so you can track its status. Payment gateway responses appear
in the payment gateway log and do not affect the background operation status.
- Resource
-
1/commerce/order-management/order-summaries/orderSummaryId/async-actions/ensure-refunds-async - Available version
- 48.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
Ensure Refunds Async Input
- Root XML tag
- <ensureRefundsAsyncInput>
- JSON example
-
1{ 2 "creditMemoId": "50gR000000000JNIAY" 3} - Properties
- Response body for POST
-
- When the HTTP status code indicates success, the response body is an EnsureRefundsAsyncOutputRepresentation. The response body can still indicate processing errors.
- When the HTTP status code is in the 400 (client error) or 500 (server error) range, the response body is an ErrorWithOutputRepresentation. The output property is an EnsureRefundsAsyncOutputRepresentation, and the value of the enhancedErrorType property can be ignored.