The updateGiftlist
actor-chain allows an agent to edit a customer’s gift or wish list.
Note: The following parameters are all optional, unless stated otherwise.
Parameter | Description |
---|---|
| Identifies if the list has been published. |
| The ID of the site. |
| Required. The name of the gift list event. |
| Required. The date of the gift list event. |
| Required. The type of the gift list event. |
| A description of the gift list. |
| Any comments that are included with the list. |
| The ID of the shipping address. |
| Any instructions that are included with the list. |
| Identifies if the address included in this list is new. |
| The first name of the customer. |
| The middle name or initial of the customer. |
| The last name of the customer. |
| The first address field of the customer. |
| The second address field of the customer. |
| The city of the customer’s address. |
| The state or province of the customer’s address. |
| The postal code of the customer’s address. |
| The country of the customer’s address. |
| The phone number associated with the customer. |
Update Customer Gift List Example
curl -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ "giftlistId": "gl240010", "eventName" : "|St Patricks Day|", "eventType": "Other", "description": \"Things needed for St Patrick's Day\", "eventDate" : \"MAR 17, 2013\"}" "http://localhost:8180/rest/model/atg/commerce/custsvc/gifts/ CSRGiftlistActor/updateGiftlist"