ReturnManager
is the main API for returns, and uses the following methods to manage each step in the return process:
ReturnManager
creates the return, instantiating theReturnRequest
using thecreateReturnRequest
method.The
applySelectedItems
method selects the items to be returned and calculates the initial refund.The optional
applyRefundMethodAllocations
method manually allocates the refund across theRefundMethod
. An automatic allocation is performed when theRefundMethods
are initially created.The
confirmRequest
method validates and saves the return to the repository.The
settleReturnRequest
method issues the refund credits and submits replacement orders to fulfillment.
ReturnManager
uses pipelines to perform a number of the return tasks. All of the pipeline chain IDs are configurable in the ReturnManager
. For detailed information on pipelines, refer to Appendix F, Pipeline Chains.
The following properties can be configured in the ReturnManager
:
Property | Description |
---|---|
| This property sets the state used for exchange orders while waiting for return items to be received by the merchant. The default is configured to |
| This property identifies the |
| Sets the default return fee that is associated with a return. By default, the value is set to |
| Identifies if the returns process will credit and submit the replacement order immediately. By default, this property is set to |
| Determines if the shipping refunds are calculated. When this property is set to |
| Determines if the actual shipping refunds are calculated from the suggested value. The default is set to |
| The pipeline that creates the Return Adjusted Order. |
| The pipeline that creates the Return Calculation Order. |
| The pipeline that creates the Promotion Evaluation Order. |
| The pipeline that creates the new return request. |
| The pipeline that confirms a new return request. |
| The pipeline that settles a return request. |
| The pipeline used to receive returned merchandise for a return request. |
| The pipeline used to allocate the refund of a return request. |
| The pipeline that calculates refund amounts. |
| The pipeline that creates the replacement order for an exchange. |
| The pipeline that submits the replacement order for an exchange. |
For additional information on ReturnManager
properties, refer to the ATG Platform API Reference.