The Shippo Address API
- Retrieve a single address
- https://api.goshippo.com/v2/addresses/{address_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.goshippo.com/v2/addresses/{address_id}' \
-H 'Authorization: ShippoToken <API_TOKEN>'{ "id": "e9f1f6fd20f84982afe471ff06c5a80f", "address": { "name": "Wilson", "email": "user@shippo.com", "phone": "+1-4155550132", "organization": "Shippo", "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" }, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }
The organization of the addressee
The organization of the addressee
The email of the addressee
The email of the addressee
The phone number of the addressee
The phone number of the addressee
The first line of the address
The second line of the address
The second line of the address
The city or locality of the address
The city or locality of the address
The state, province, county, or municipal division
The state, province, county, or municipal division
The postal code or zip code
The postal code or zip code
The residential/commercial type of the address from the delivery/pickup standpoint
unknown At the moment it is not possible to establish if the address is of any known type
residential The address is a residence
commercial The address is associated with a business
po_box The address is a PO Box
military The address is a military address
- https://api.goshippo.com/v2/addresses/{address_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}'- https://api.goshippo.com/v2/addresses/{address_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.goshippo.com/v2/addresses/{address_id}' \
-H 'Authorization: ShippoToken <API_TOKEN>'The organization of the addressee
The organization of the addressee
The email of the addressee
The email of the addressee
The phone number of the addressee
The phone number of the addressee
The first line of the address
The second line of the address
The second line of the address
The city or locality of the address
The city or locality of the address
The state, province, county, or municipal division
The state, province, county, or municipal division
The postal code or zip code
The postal code or zip code
The residential/commercial type of the address from the delivery/pickup standpoint
unknown At the moment it is not possible to establish if the address is of any known type
residential The address is a residence
commercial The address is associated with a business
po_box The address is a PO Box
military The address is a military address
- https://api.goshippo.com/v2/addresses
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.goshippo.com/v2/addresses \
-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"
}'- AddressWithMetadata
- Response Create A New Address Addresses Post
{ "id": "e9f1f6fd20f84982afe471ff06c5a80f", "address": { "name": "Wilson", "email": "user@shippo.com", "phone": "+1-4155550132", "organization": "Shippo", "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" }, "updated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" }
- https://api.goshippo.com/v2/addresses
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.goshippo.com/v2/addresses?offset=0&limit=30&search=string' \
-H 'Authorization: ShippoToken <API_TOKEN>'{ "offset": 1, "limit": 1, "count": 1, "next": "/addresses?offset=2&limit=1", "prev": "/addresses?offset=0&limit=1", "results": [ { … } ] }