Update address

Update an existing address for customer on-session.

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

The unique identifier of the address.

Query Params
int32
required

The unique identifier of the site associated with your account.

Body Params
string
required

The address type, one of either "shipping" or "billing". Always required.

string
required

The two-letter code of the country, as specified by ISO 3166 alpha-2 standard. Always required.

string
required

The first line of the address. Always required.

string
required

The address's first name that belongs to the customer. Always required.

string
required

The address's last name that belongs to the customer. Always required.

string
required

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

string
required

The two-letter code of the state, region, or province. Always required.

string
required

Postal code or zip associated with the address. Always required.

string
enum
Defaults to en

The customer’s preferred language as a two-letter code, defined by ISO 639-1 standard. If not specified, it will be set from Accept-Language header, or from the default language defined in your site settings as a fallback.

Allowed:
string

The second line of the address.

boolean

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

string

Numeric phone number associated with the address.

Headers
string
required
Defaults to Bearer eyJ***
string
Defaults to application/json
Responses

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