The removeAndAddItemToOrder actor-chain is used to remove items from the order and then add it back to the order.

Parameter

Description

catalogRefIds

The catalog reference ID.

productId

The ID of the product.

quantity

The quantity of the product.

removalCommerceIds

The list of commerce IDs to remove.

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

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