The createReturn
actor-chain initiates and creates a return request. Note that this actor-chain calls the ReturnFormHandler
, as opposed to the internal createReturn
actor-chain, which calls the StartReturnExchangeProcess
form handler. For information on the internal createReturns
actor-chain, refer to the Creating a Return section. This actor-chain contains the following parameter:
Parameter | Description |
---|---|
| The ID of the order to be returned. |
Initiate Returns Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{\"newOrderId\":\"o2620001\"}" "http://localhost:8181/rest/model/atg/commerce/ custsvc/returns/ReturnsActor/createReturn"