The removeAndAddItemToOrder actor-chain is used to removes items from the order and then adds it to the order.

Parameter

Description

catalogRefIds

The catalog reference ID.

productId

The ID of the product.

quantity

The quantity of the product.

removalCommerceIds

The ID given to the item, or to a list of commerce items, that should be removed from the order.

Move an Item to the Customer’s Cart Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"catalogRefIds\":\"xsku1043\",\"productId\": \"xprod1015\",\"quantity\": 1,
\"removalCommerceIds\":\"ci116000002\"}" "http://localhost:8280/rest/model/atg/
commerce/custsvc/order/CartModifierActor/removeAndAddItemToOrder"

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