The updateAddress actor-chain is used to edit or update an existing address in a customer profile.

Parameter

Description

addressId

Identifies the address to edit.

firstName

The first name of the customer associated with this address.

middleName

The middle name or initial of the customer associated with this address.

lastName

The last name of the customer associated with this address.

address1

The first address field of the address.

address2

The second address field of the address.

city

The city of the address.

state

The state or province of the address.

postalCode

The postal code of the address.

country

The country of the address.

phoneNumber

The phone number associated with this address.

setBillingAddress

Boolean value that sets the address as the default billing address.

setShippingAddress

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"

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