400 - Invalid Address Type
Tip
The error code invalid_address_type
is returned when an invalid value is provided for the address_type
property of an address
.
This error code will be returned, for example, if an attempt is made to create a shipment
with an unrecognised address_type
:
{
"addresses": [
{
"address_type": "dest",
//other address properties
}
]
}
Note
The accepted values for address_type
include:
origin
destination
billing
return
sender
recipient
importer
exporter
The standard use case for addresses is to provide both an origin
and a destination
address.