The addItemToWishlist
actor-chain allows an agent to add an item to the active customer’s wish list.
Parameter | Description |
---|---|
| The ID of the site. |
| The quantity of the products to add to the wish list. |
| The product ID of the product to add to the wish list. |
| 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"