The addItemToWishlist actor-chain allows an agent to add an item to the active customer’s wish list.

Parameter

Description

siteId

The ID of the site.

quantity

The quantity of the products to add to the wish list.

productId

The product ID of the product to add to the wish list.

catalogRefIds

The catalog reference ID of the product being added to the wish list.

Add Item to Customer’s Wish List Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
"productId": "xprod2085", "catalogRefId" : "xsku2085", "quantity": "1", "siteId":
"homeSite" }" "http://localhost:8280/rest/model/atg/commerce/custsvc/gifts/
CSRGiftlistActor/addItemToWishlist"

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