The addItemToGiftlist
actor-chain adds an item to a 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. |
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"