Addresses

Learn to create, validate, and retrieve Shippo addresses.

Overview

We have to provide the from address and the to address to ship an item. These addresses have to be validated before shipping an item to avoid failed shipping. The Shippo API validates U.S. addresses free of cost and charges for global (non-U.S.) addresses for the live token. If we use the test token, the API passes the address without validation for global addresses.

Create an address

We use the following endpoint, which uses the POST method to create an address object:

https://api.goshippo.com/addresses/

Request

...