Resource URL
Edit an existing address.
PUT /addresses/:id ANY /addresses/:id?_method=put
Parameters
Table of allowed parameters. Underlined parameters are mandatory.
state_id | unsigned int | Must point to a valid state |
---|---|---|
country_id | unsigned int | Must point to a valid country |
title | string | |
street1 | string | |
street2 | string | |
city | string | |
zipcode/postcode | string | |
latitude | string | |
longitude | string |
Handling the response
The updated address will be returned in the response. Please see the GET endpoint for handling the response.