Addresses
Explore how to manage shipping addresses with the Shippo API. Learn to create address objects, validate U.S. and global addresses, retrieve and list saved addresses, and ensure accuracy for successful shipments. By mastering these steps, you will prevent shipping errors and build reliable e-commerce shipping workflows.
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/