The create
actor-chain
is used to create a new customer profile.
Parameter | Description |
---|---|
| Determines if a cookie should be returned upon logging in. This property, if set to |
| If your environment is set up to use Realms, this indicates the ID of the realm. Refer to the ATG 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 it 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 used when creating the home address, for example, Mr. or Dr. |
| A suffix used when creating 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. |
Create Customer Profile Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" –d "{"firstName":\"Joe\", "middleName":\"T\", "lastName":\"Jackson\", "email":\"jsmith@example.com\", "password":\"tempPassword\", "confirmPassword":\"tempPassword\", "login":\"joe03\", "homeAddress": {"atg-rest-class-type":"java.util.HashMap", "atg-rest-values": {"address1":\"111 Main Street\", "address2":\"Suite 100\", "city":\"Cambridge\", "state":\"MA\", "country":\"USA\", "postalCode":\"00123\", "phone": \"555-111-2222\"}} }" "http://localhost:8280/rest/model/atg/userprofiling/ ProfileActor/create"