The updateAddress
actor-chain is used to edit or update an existing address in a customer profile.
Parameter | Description |
---|---|
| Identifies the address to edit. |
| The first name of the customer associated with this address. |
| The middle name or initial of the customer associated with this address. |
| The last name of the customer associated with this address. |
| The first address field of the address. |
| The second address field of the address. |
| The city of the address. |
| The state or province of the address. |
| The postal code of the address. |
| The country of the address. |
| The phone number associated with this address. |
| Boolean value that sets the address as the default billing address. |
| Boolean value that sets the address as the default shipping address. |
Edit Customer Profile Address Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{ \"addressId\": \"270015\", \"firstName\":\"Jack\", \"lastName\":\"Dill\", \"address1\":\"124 Main St\", \"city\":\"Seaside\", \"state\":\"CA\", \"postalCode\":\"99022\",\"phoneNumber\":\"555-123-1234\", \"country\":\"US\" }" "http://localhost:8280/rest/model/atg/svc/agent/profile/AddressBookActor/ updateAddress"