The update actor-chain is used to update a customer profile.
Parameter | Description |
|---|---|
| The first name of the customer. |
| The middle name or initial of the customer. |
| The last name of the customer. |
| The e-mail address of the customer. |
| The customer’s date of birth. |
| The first address field associated with the customer’s address. |
| The second address field associated with the customer’s address. |
| The city associated with the customer’s address. |
| A company name associated with the customer’s address. |
| A country associated with the customer’s address. |
| A county associated with the customer’s address. |
| A job title associated with the customer’s address. |
| The postal code associated with the customer’s address. |
| A fax number associated with the customer’s address. |
| The first name of the customer associated with the address. |
| The middle name or initial of the customer associated with the address. |
| The last name of the customer associated with the address. |
| The phone number associated with the customer’s address. |
| A prefix associated with the customer, such as Mr. or Dr. |
| The state associated with the customer’s address. |
| A suffix associated with the customer, such as Jr. |
Update Customer Profile Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d
"{\"firstName\":\"Bill\", \"middleName\":\"Theodore\", \"lastName\":\"Hitchock\",
\"email\":\"william13@example.com\", \"dateOfBirth\":\"AUG 30, 1972\",
\"address\":{\"atg-rest-class-type\":\"java.util.HashMap\", \"atg-rest-values\":
{\"address1\":\"333 Main Street\", \"address2\":\"Suite 900\",
\"city\":\"Tacoma\",\"state\":\"WA\", \"country\":\"USA\", \"postalCode\":
\"00123\", \"phoneNumber\":\"555-111-2225\"}} }" "http://localhost:8280/rest/
model/atg/svc/agent/ui/formhandlers/CustomerProfileActor/update"
