Update address
PUT/openapi/2025-06/customers/:customer_id/addresses/:address_id
Update the details of an existing address using its unique identifier.
Request
Path Parameters
Customer ID
Address ID
- application/json
- Body
- Example
Bodyrequired
address objectrequired
Address
The first name of the person receiving the shipment or package
The last name of the person receiving the shipment or package
Email address for the consignee. This field is used to specify the email address of the person receiving the shipment or package
This field represents the main address line, such as the house number and street name. It is used to specify the primary location of the address
This field represents an additional address line, such as an apartment number or suite number. It is used to provide more specific information about the location of the address
Area or region of the address
City of the address. This field specifies the name of the city or town where the address is located
Province or state
Province code
Country name
ISO country code
Company name associated with the address
Phone number associated with the consignee
Area code for the phone number
Postal or ZIP code
Gender of the person, optional field. Acceptable values are "male" and "female"
Indicates if this is the default address. "true" if this is the first address created for the user, otherwise "false"
{
"address": {
"first_name": "string",
"last_name": "string",
"email": "string",
"address1": "string",
"address2": "string",
"area": "string",
"city": "string",
"province": "string",
"province_code": "string",
"country": "string",
"country_code": "string",
"company": "string",
"phone": "string",
"phone_area_code": "string",
"zip": "string",
"gender": "string",
"default": true
}
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
error code
error message
data object
address object
Address
Address ID
ID of the customer this address belongs to
First name of the consignee
Last name of the consignee
Company name
City of the address
Province or state of the address
Country name of the address
Postal or ZIP code
Province code
ISO country code
Gender of the consignee
Phone number associated with the address
Area code of the phone number
Area or region of the address
Email associated with the address
Full name of the consignee
Primary street address
Secondary street address
Full name of the country
Indicates if this is the default address
{
"code": "string",
"message": "string",
"data": {
"address": {
"id": "string",
"customer_id": "string",
"first_name": "string",
"last_name": "string",
"company": "string",
"city": "string",
"province": "string",
"country": "string",
"zip": "string",
"province_code": "string",
"country_code": "string",
"gender": "string",
"phone": "string",
"phone_area_code": "string",
"area": "string",
"email": "string",
"name": "string",
"address1": "string",
"address2": "string",
"country_name": "string",
"default": true
}
}
}