Validate an address
Changed onAddress validation ensures accurate addresses and can lead to reduced shipping costs by preventing address correction surcharges. ShipStation API cross references multiple databases to validate addresses and identify potential deliverability issues.
Request
- Base URLhttps://api.shipstation.com
- URLhttps://api.shipstation.com/v2/addresses/validate
- AuthAPI key in header api-key
Request body
Example request
[
{
"name": "John Doe",
"phone": "+1 204-253-9411 ext. 123",
"company_name": "The Home Depot",
"address_line1": "1999 Bishop Grandin Blvd.",
"address_line2": "Unit 408",
"address_line3": "Building #7",
"city_locality": "Winnipeg",
"state_province": "Manitoba",
"postal_code": "78756",
"country_code": "CA",
"address_residential_indicator": "no"
}
]Response
The request was a success.
Example response
[
{
"status": "verified",
"original_address": {
"name": "Mickey and Minnie Mouse",
"phone": "714-781-4565",
"company_name": "The Walt Disney Company",
"address_line1": "500 South Buena Vista Street",
"city_locality": "Burbank",
"state_province": "CA",
"postal_code": "91521",
"country_code": "US",
"address_residential_indicator": "unknown"
},
"matched_address": {
"name": "MICKEY AND MINNIE MOUSE",
"phone": "714-781-4565",
"company_name": "THE WALT DISNEY COMPANY",
"address_line1": "500 S BUENA VISTA ST",
"city_locality": "BURBANK",
"state_province": "CA",
"postal_code": "91521-0007",
"country_code": "US",
"address_residential_indicator": "no"
},
"messages": [
{
"code": "a1004",
"message": "Address verified successfully",
"type": "info",
"detail_code": "address_verified"
}
]
}
]Changes
- warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning
- breaking
the
/response's property type changed from no type toobjectfor status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
removed from the
/response propertyallOflist for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking