The receiveReturnItems
actor-chain is used to get information about the items that have been selected to be returned and to process the items that have been returned as received. This actor-chain uses the following parameters:
Parameter | Description |
---|---|
| The received item’s return request, where the key is the return item ID and the value is the return request ID. |
| The item disposition information contained within the return request. |
| The quantity of the return items received. |
Receive Return Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" –d "{\"returnItemsRequests\":{\"atg-rest-class-type\":\"java.util.HashMap\", \"atg-rest-values\": {\"xc4400016\":\"xc4400011\"}}, \"returnItemDispositions\": {\"atg-rest-class-type\":\"java.util.HashMap\",\"atg-rest-values\": {\"xc4400016\":\"defective\"}}, \"receiveItemQuantities\": {\"atg-rest-class-type\":\"java.util.HashMap\",\"atg-rest-values\" :{\"xc4400016\":1}}}" "http://localhost:8181/rest/model/atg/commerce/custsvc/ returns/CSRReturnsActor/receiveReturnItems"