The GiftlistLookupActor enables an agent to view a customer’s gift or wish list. This actor is located at: /atg/commerce/gifts/GiftlistLookupActor, and contains the following actor-chains.
Actor-Chain | Description |
|---|---|
| Views the ID of the customer’s gift or wish list. |
| Displays the items within the gift list. |
The view actor-chain contains the following parameter:
Parameter | Description |
|---|---|
| The ID of the gift or wish list to view. |
View Gift List Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"giftListId\" : \"gl430003\"}" "http://localhost:8280/rest/model/atg/commerce/
gifts/GiftlistLookupActor/view"The server response may be similar to the following:
{"giftlist": {
"giftlistItems": [],
"instructions": null,
"description": null,
"name": "Valentines",
"public": true,
"date": {"time": 1360816200000},
"type": "Other",
"repositoryId": "gl130271",
"addressId": "230324",
}
}The giftlistItems actor-chain contains the following parameter:
Parameter | Description |
|---|---|
| The ID of the gift or wish list to view. |
View Gift List Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
\"giftListId\" : \"gl430003\"}" "http://localhost:8280/rest/model/atg/commerce/
gifts/GiftlistLookupActor/giftlistItems"
