The update actor-chain is used to edit customer profiles.

Parameter

Description

autoLogin

Determines if a cookie should be used when logging in. Setting this to true allows a customer to log in automatically.

realmId

If your environment is set up to use realms, this indicates the ID of the realm. Refer to the Commerce Programming Guide for information on realms.

firstName

The first name of the customer.

middleName

The middle name or initial of the customer.

lastName

The last name of the customer.

email

The customer’s e-mail address.

password

The customer’s password.

confirmPassword

Re-enter the customer’s password to verify.

login

The customer’s log in name.

dateOfBirth

The customer’s date of birth.

gender

The customer’s gender.

homeAddress.address1

The first address line of the customer’s home address.

homeAddress.address2

The second address line of the customer’s home address.

homeAddress.address3

The third address line of the customer’s home address.

homeAddress.city

The city associated with the customer’s home address.

homeAddress.state

The state associated with the customer’s home address.

homeAddress.postalCode

The postal code associated with the customer’s home address.

homeAddress.country

The country associated with the customer’s home address.

homeAddress.phoneNumber

The phone number of the customer’s home address.

homeAddress.companyName

A company that is associated with the home address.

homeAddress.county

A county that is associated with the home address.

homeAddress.jobTitle

A job title associated with the customer’s home address.

homeAddress.faxNumber

A fax number associated with the customer’s home address.

homeAddress.prefix

A prefix associated with the customer when creating the home address, for example, Mr. or Dr.

homeAddress.suffix

A suffix to display for the customer when displaying the home address, for example, Jr.

homeAddress.firstName

The first name of the customer associated with the home address.

homeAddress.middleName

A middle name or initial of the customer associated with the home address.

homeAddress.lastName

The last name of the customer associated with the home address.

daytimeTelephoneNumber

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"

Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices