The returnReasons actor-chain displays a list of all reason codes. Reason codes can be used in the selectItem actor-chain as outlined in Adding Items to a Return Request.

Parameters: None

Obtain Return Reason Codes Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json"
"http://localhost:8181/rest/model/atg/commerce/custsvc/returns/CSRReturnsActor/
returnReasons"

The server may return a response similar to the following:

{
  "reasons": {
    "incorrectSize": "Incorrect Size",
    "incorrectColor": "Incorrect Color",
    "didNotMeetExpectations": "Did Not Meet Expectations",
    "didNotLike": "Did Not Like",
    "defective": "Defective",
    "incorrectItem": "Incorrect Item"
  }
}

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices