The addItemToGiftlist actor-chain allows an agent to add an item to a customer’s 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.

siteId

The ID of the site.

Add Item to Customer Gift List Example
curl -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"giftlistId\": \"gl380011\", \"productId\": \"xprod1015\", \"catalogRefIds\" :
\"xsku1043\",\"quantity\": \"2\", \"siteId\": \"homeSite\"}"
"http://localhost:8180/rest/model/atg/commerce/custsvc/gifts/CSRGiftlistActor/
addItemToGiftlist"

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