The addItemToGiftlist actor-chain adds an item to a gift list.

Parameter

Description

giftlistId

The ID of the gift list.

quantity

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

productId

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

catalogRefIds

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

Add Item to Gift List Example
curl -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{
"giftlistId": "gl230009", "productId": "xprod1015", "catalogRefIds" : "xsku1043",
"quantity": "2" }" "http://localhost:8280/rest/model/atg/commerce/gifts/
GiftlistActor/addItemToGiftlist"

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