The addItemToWishlist
actor-chain adds an item to a wish list.
Parameter | Description |
---|---|
| 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 Wish List Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{ \"productId\": \"prod10004\", \"catalogRefIds\" : \"sku30029\", \"quantity\": \"2\" }" "http://localhost:8280/rest/model/atg/commerce/gifts/GiftlistActor/ addItemToWishlist"