Update address

Update an existing address.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
Query Params
int32
required

The unique identifier of the site associated with your account.

int32
required

The unique identifier of the customer.

Body Params
string
length ≤ 255

The address's first name that belongs to the customer

string
length ≤ 255

The address's last name that belongs to the customer

string
enum
required

The address type, one of either "shipping" or "billing"

Allowed:
string
required
length ≤ 255

The first line of the address.

string
length ≤ 255

The second line of the address.

string
length ≤ 255

The name of a city, town, village, etc.

string
length ≤ 255

The two-letter code of the state, region, or province. Learn more here.

string
required
length ≤ 2

The two-letter country codes as specified by ISO3166 alpha-2. Learn more here.

string
length ≤ 45

Postal code or zip associated with the address.

string

Numeric phone number associated with the address.

string
length ≤ 191

The old id for the customer if it is migrated.

boolean
Defaults to false

Set this address as the new default. Only one default address of the same type can be set at all times.

string
length ≤ 255

The customer's title within the company.

string
length ≤ 255

A salutation for the address, such as Mr., Ms., Dr.

string
length ≤ 255

The company name associated with the address.

string
length ≤ 255

The department associated with the address.

boolean

A boolean to bypass the address cleansing feature if enabled.

string
length ≤ 500

Optional delivery notes associated with this address.

integer
≥ 1

Optional integer representing the driver delivery order for the address

int32

The vendor associated with this address if any

Headers
string
required
Defaults to Bearer eyJ***
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json