The update
actor-chain is used to edit customer profiles.
Parameter | Description |
---|---|
| Determines if a cookie should be used when logging in. Setting this to |
| If your environment is set up to use realms, this indicates the ID of the realm. Refer to the Core Commerce Programming Guide for information on realms. |
| The first name of the customer. |
| The middle name or initial of the customer. |
| The last name of the customer. |
| The customer’s e-mail address. |
| The customer’s password. |
| Re-enter the customer’s password to verify. |
| The customer’s log in name. |
| The customer’s date of birth. |
| The customer’s gender. |
| The first address line of the customer’s home address. |
| The second address line of the customer’s home address. |
| The third address line of the customer’s home address. |
| The city associated with the customer’s home address. |
| The state associated with the customer’s home address. |
| The postal code associated with the customer’s home address. |
| The country associated with the customer’s home address. |
| The phone number of the customer’s home address. |
| A company that is associated with the home address. |
| A county that is associated with the home address. |
| A job title associated with the customer’s home address. |
| A fax number associated with the customer’s home address. |
| A prefix associated with the customer when creating the home address, for example, Mr. or Dr. |
| A suffix to display for the customer when displaying the home address, for example, Jr. |
| The first name of the customer associated with the home address. |
| A middle name or initial of the customer associated with the home address. |
| The last name of the customer associated with the home address. |
| Identifies the daytime telephone number on the customer profile. |
Edit Customer Profile Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{\"firstName\":\"Joe\", \"middleName\":\"B\", \"lastName\":\"Smith\", \"email\":\"jsmith@example.com\", \"daytimeTelephoneNumber\":\"617-637-8687\", \"homeAddress\":{\"atg-rest-class-type\":\"java.util.HashMap\", \"atg-rest-values\": {\"address1\":\"127 Main Street\", \"address2\": \"Suite 100\", \"city\":\"Cambridge\",\"state\":\"MA\", \"country\":\"USA\", \"postalCode\":\"02046\", \"phone\": \"555-111-3333\"}} }" "http://localhost:8280/rest/model/atg/userprofiling/ProfileActor/update"