The addItemToWishlist actor-chain adds an item to a wish list.

Parameter

Description

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 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"

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