The addItemToGiftlist
actor-chain allows an agent to add an item to a customer’s gift list.
Parameter | Description |
---|---|
| The ID of the gift list. |
| The quantity of the products to add to the gift list. |
| The product ID of the product to add to the gift list. |
| The catalog reference ID of the product being added to the gift list. |
| 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"