The following macros are not currently supported in the header:
  • style

PUT /addresses/:id

Resource URL

Edit an existing address.

PUT /addresses/:id
ANY /addresses/:id?_method=put

Parameters

Table of allowed parameters. Underlined parameters are mandatory.

state_idunsigned intMust point to a valid state. If you do not know the state id, please use the state parameter.
statestringThe name of the state or province
country_idunsigned intMust point to a valid country. If you do not know the country id, please use the country parameter.
countrystringThe name of the country.
titlestring 
street1string 
street2string 
citystring 
zipcode/postcodestring 
latitudestring 
longitudestring 
postalstring, 'yes' or 'no'This indicates whether this address is a postal address
physicalstring, 'yes' or 'no'This indicates whether this address is a physical address

 

Handling the response

The updated address will be returned in the response. Please see the GET endpoint for handling the response.