curl -i -X PUT \
'https://api.goshippo.com/v2/addresses/{address_id}' \
-H 'Authorization: ShippoToken <API_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Wilson",
"organization": "Shippo",
"email": "user@shippo.com",
"phone": "+1-4155550132",
"address_line_1": "731 Market Street",
"address_line_2": "#200",
"city_locality": "San Francisco",
"state_province": "CA",
"postal_code": "94103",
"country_code": "US",
"address_type": "residential"
}'Updates values in an existing address
curl -i -X PUT \
'https://api.goshippo.com/v2/addresses/{address_id}' \
-H 'Authorization: ShippoToken <API_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Wilson",
"organization": "Shippo",
"email": "user@shippo.com",
"phone": "+1-4155550132",
"address_line_1": "731 Market Street",
"address_line_2": "#200",
"city_locality": "San Francisco",
"state_province": "CA",
"postal_code": "94103",
"country_code": "US",
"address_type": "residential"
}'Enter your shippo token with the ShippoToken prefix.
Example: ShippoToken shippo_live_xxxx
The name of the addressee
64"Wilson"
The first line of the address
1 - 100"731 Market Street"
The ISO 3166 country code
2"US"
The organization of the addressee
100"Shippo"
The email of the addressee
5 - 128"user@shippo.com"
The phone number of the addressee
3 - 32"+1-4155550132"
The second line of the address
50"#200"
The city or locality of the address
64"San Francisco"
The state, province, county, or municipal division
32"CA"
The postal code or zip code
16"94103"
The category of the address. It may affect how certain carriers charge for a delivery/pickup.It is recommended to specify it, if it is known.
unknown, residential, commercial, po_box, military "residential"
Successful Response
Was this page helpful?