curl --location 'http://logistics.newbanri.com/api/order/validate-address' \
--header 'Lang: {{lang}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"address": [
{
"recipientCountry": "US",
"recipientPostalCode": "80904",
"recipientState": "CO",
"recipientCity": "Colorado Springs",
"recipientAddress": "1592 Meadow Peak View Apt 100"
},
{
"recipientAddress": "10909 Gulf 3806",
"recipientCity": "Houston",
"recipientState": "CO",
"recipientPostalCode": "12569",
"recipientCountry": "US"
}
]
}'{
"success": true,
"code": 0,
"locale": "string",
"message": "string",
"data": {
"address": [
{
"original": {
"recipientCountry": "string",
"recipientPostalCode": "string",
"recipientState": "string",
"recipientCity": "string",
"recipientAddress": "string"
},
"error": true,
"message": true,
"matches": [
{
"recipientCountry": "string",
"recipientPostalCode": "string",
"recipientState": "string",
"recipientCity": "string",
"recipientAddress": "string"
}
]
}
]
}
}