The returns actor-chain provides details of returned items in the current order and contains the following parameters:
Parameter | Description |
|---|---|
| The ID of the order. |
Does Order Contain Active Return Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" –d
"{\"orderId\" : \"xco20040\"}""http://localhost:8180/rest/model/
atg/commerce/custsvc/returns/CSRReturnsActor/returns"The server output may resemble the following:
{
"itemReturnSummary":{
"xci1000071":2,
"xci1000070":1,
"xci1000073":1,
"xci1000072":1
},
"resultName":[
{
"methods":[
{
"methodType":"creditCard"
}
],
"requestId":"xc100005",
"replacementOrderId":null,
"items":[
{
"requestId":"xc100005",
"returnItemId":"xc100007"
},
{
"requestId":"xc100005",
"returnItemId":"xc100008"
},
{
"requestId":"xc100005",
"returnItemId":"xc100010"
},
{
"requestId":"xc100005",
"returnItemId":"xc100009"
}
],
"rma":"xc100005",
"createdDateTime":1340764006000,
"orderId":"xco20040"
}
]
}
