Non-US Address Formats
Specify addresses for non-U.S. shipping.
About non-U.S. addresses
Certain countries require a level of detail beyond the U.S. and Canadian street1 / street2 pair for specifying addresses. In supporting these countries' requirements, there are additional fields that need to be passed in carrier selection calls in order to guarantee that Shipium gets your packages to your customer correctly, regardless of which carrier you use.
Per-country details
The acceptable 2-character ISO-3166 country codes are listed in the following table. These values are for the countryCode field.
Below is a list of changes that should be made relative to our standard documentation for country-specific addresses.
Mexico
For Mexican addresses, you'll provide information for the addressLineComponents object described in the table below. These changes apply to:
originAddressâś…destinationAddressâś…
In place of street1 and street2 fields, Mexican addresses require additional details including primary and secondary address numbers (outside and inside numbers), township name, and settlement name.
Make sure not to pass
street1andstreet2Replace these fields with the
addressLineComponentselement for Mexico addresses.
Example address
U. Hab. Fovissste Fuentes Brotantes Edificio D-1 Depto 302 Col. Miguel Hidalgo, Tlalpan
Mexico address details
| Shipium address element | Mexican address description |
|---|---|
addressLineComponents.streetName | Street name Ex.: Fovisste Fuentes Brotantes |
addressLineComponents.primaryAddressNumber | Primary address number (outside number) Ex.: D-1 |
addressLineComponents.secondaryAddressNumber | Secondary address number (inside number) Ex.: 302 |
addressLineComponents.district | District (township name) Ex.: Tlalpan |
addressLineComponents.neighborhood | Neighborhood (settlement name) Ex.: Miguel Hidalgo |
Mexico address sample
"destinationAddress": {
"name": "Sr. Hernández",
"company": "ACME",
"addressType": "commercial",
"addressLineComponents": {
"streetName": "Fovisste Fuentes Brotantes",
"primaryAddressNumber": "D-1",
"secondaryAddressNumber": "302",
"district": "Tlalpan",
"neighborhood": "Miguel Hidalgo"
},
"city": "Mexico City",
"state": "CDMX",
"countryCode": "MX",
"postalCode": "14410"
}
Resources
Your Shipium team member is available to help along the way. However, you might find these resources helpful:
Updated 4 months ago
