Additional Address

This section holds details of optional additional address properties potentially required by certain carriers.

Address properties in this section are required in semi structure format, if you chose to specify this object, some fields are mandatory.

Table 20. Additional Address Properties

Property Name

Type

Manda- tory?

Description

AddressKeyId

integer

0 = Billing Address, 4 = Requested Service point.

Addressline1

string

1st line of address.

Postcode

string

Postcode.

City

string

City, if known.

countryCode

string

the countryCode defaults to the country associated with the default warehouse and must contain a valid entry. You can use an an ISO 3166 Alpha-2, Alpha-3, or Numeric code.

Adressline2

string

2nd line of address.

Type

integer

Type 1 equals business and Type 2 equals residential.

stateProvince

string

State province if known.

CompanyName

string

Company name.


For example:

...
<addresses soapenc:arrayType="ns1:ArrayOf_tns1_SemiStructuredAddress[1]" xsi:type="soapenc:Array">
                    <addresses xsi:type="ns1:ArrayOf_tns1_SemiStructuredAddress">
                        <addressKeyId>0</addressKeyId>
                        <addressLine1>line1</addressLine1>
                        <postCode>Gu34 2LZ</postCode>
                        <city>London</city>
                        <countryCode>GBR</countryCode>
                        <addressLine2>line2</addressLine2>
                        <type>2</type>
                        <stateProvince>Greater London</stateProvince>
                        <companyName>Metapack</companyName>
                    </addresses>
                </addresses>
...