Update address

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

Overview

Update an existing address belonging to the authenticated customer. Returns the updated customer plus a meta block. The address type cannot be changed. Requires a bearer token.

Example: A customer corrects the city and postal code on their shipping address.

📘

Authentication required

Send a bearer token as Authorization: Bearer <token>. An address the customer does not own returns 404 Address not found.


Conditional Requirements

ConditionRequired Fields
Alwaystype, first_name, last_name, city, state, postal_code
Path Params
int32
required
Query Params
int32
required
Body Params
string
required
string
length ≤ 2
string
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 45
string
enum
length ≤ 2
Defaults to en
Allowed:
string
length ≤ 255
boolean
string
length between 5 and 20
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