The isItemReturnable
actor-chain looks at an item within a current order to see if it is returnable. If the item is returnable, the returnable state is ITEM_RETURNABLE. If the returnable state contains anything else, the item is not returnable.
This actor-chain uses the following parameter:
Parameter | Description |
---|---|
| The ID of the item. |
Is Item Returnable Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" –d "{\"commerceItemId\":\"xci1000070\"}" "http://localhost:8181/rest/model/ atg/commerce/custsvc/order/CSRReturnsActor/isItemReturnable"