Set default address
Set default address for specified user
Authorizations
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Path Parameters
User ID
"6169b2d892a5f30009d76480"
Address ID
"2468qt3414159"
Response
Primary address
"1234 Main St."
Address city
"Houston"
Address state
"TX"
Address country
"USA"
Address zip code
77035
Email address
"test@mail.com"
true: Address has been validated<br />false: Address has not been validated
true
true: This is the default address<br />false: This is an additional address
true
Address recipient
"Account Manager"
Second address line
"Suite 710"
Third address line
"Floor 7"
Company name
"Acme Inc."
Address type
"Business"
Telephone number and type associated with address
Was this page helpful?