How can I verify an address and create a shipment in one API call?

You can set the verify or verify_strict parameter for the to_address object on shipment creation, and it will verify the address at the same time.

However, we have found that most users like to create addresses and shipments separately. When an address is created, the address_id can be saved and re-used for many shipments, thus reducing the number of calls you have to make to our API. This is a great solution if you have a substantial number of repeat customers.

As always, implement our API in the way that fits your business best.

Don't see your question? Talk to a shipping expert