The CartModifierActor
contains the setOrderByCommerceId
actor-chain that allows an agent to override the price of an item within an order.
To override a price, add the following to the URL:
IPO:commerceItemId=newPrice
Override Price Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/commerce/custsvc/order/CartModifierActor/ setOrderByCommerceId?ci172000006=1&IPO:ci172000006=19.99"