The moveItemsFromCart actor-chain allows an agent to take an item from a shopping cart and move it into the specified gift or wish list. You can specify a default quantity for an item, or specify the quantity for a specific item.

Parameter

Description

giftlistId

The ID of the gift or wish list to which the items will be moved.

itemIds

The IDs of the items to move to the list.

quantity

The quantity of the items to move to the list.

Move Item to Gift or Wish List from Customer’s Cart Example
curl -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
"giftlistId" : "gl620010", "itemIds": "ci42000001"}" "http://localhost:8180/
rest/model/atg/commerce/custsvc/gifts/CSRGiftlistActor/
moveItemsFromCart?ci42000001=6"

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