NoteAddress object IDs cannot be used with previous versions of the Shippo API. There is a limit of 3,000 addresses that can be stored.
Create an address book entry
To store an address for later use in the Addresses API, follow this example. Note, you cannot save identical addresses.Retrieve addresses
You can retrieve an address using an address object ID. If you don’t know the object ID for an address, see the example to retrieve multiple addresses. To retrieve a single address using an object ID, follow this example.| Parameter | Description |
|---|---|
limit | Limits the number of returned addresses. For example, if 20 records match your query and limit is set to 5, only the first 5 addresses are returned |
offset | The number of addresses to skip in the result set. For example, if 100 addresses match your query, if you offset 50 and limit 20, then you get addresses 50-70 |
search | Only addresses that contains this string anywhere in the address will be returned |
Update an address
To update an existing address, follow this example.cURL
Delete addresses
To delete an address that you have created, follow this example.cURL