GET address/{collectionKey}/{addressId}
Returns address for a given address Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
collectionKey |
Address Collection key |
string |
Required |
addressId |
Optional Address id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AddressResponseModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique Identifier |
integer |
None. |
Created |
Created DateTime stamp |
date |
None. |
Updated |
Updated DateTime stamp |
date |
None. |
AddressType |
Specifies Type of address (SoldTo, BillTo, Payer, ShipTo, EndUser)
|
AddressType |
None. |
Name |
Recipient’s name |
string |
Max length: 100 |
Attention |
Attention line |
string |
Max length: 100 |
Phone |
Contact phone # |
string |
Max length: 20 |
Street1 |
Street address line one |
string |
Max length: 100 |
Street2 |
Street address line two |
string |
Max length: 100 |
City |
City |
string |
Max length: 100 |
StateProvince |
State / Province code Valid 2 character State or Province code. See ISO-3166 |
string |
Max length: 100 |
PostalCode |
Postal code |
string |
Max length: 20 |
CountryCode |
Country Code Standard ISO-3166 2-Character country code |
string |
Max length: 2 |
ExtendedData |
Client defined data |
string |
None. |
Response Formats
application/json, text/json
{ "Id": 1, "Created": "2021-01-15T09:56:32.365642-05:00", "Updated": "2021-01-15T09:56:32.365642-05:00", "AddressType": 0, "Name": "sample string 4", "Attention": "sample string 5", "Phone": "sample string 6", "Street1": "sample string 7", "Street2": "sample string 8", "City": "sample string 9", "StateProvince": "sample string 10", "PostalCode": "sample string 11", "CountryCode": "sample string 12", "ExtendedData": "sample string 13" }
application/xml, text/xml
<AddressResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddressType>SoldTo</AddressType> <Name>sample string 4</Name> <Attention>sample string 5</Attention> <Phone>sample string 6</Phone> <Street1>sample string 7</Street1> <Street2>sample string 8</Street2> <City>sample string 9</City> <StateProvince>sample string 10</StateProvince> <PostalCode>sample string 11</PostalCode> <CountryCode>sample string 12</CountryCode> <ExtendedData>sample string 13</ExtendedData> <Id>1</Id> <Created>2021-01-15T09:56:32.365642-05:00</Created> <Updated>2021-01-15T09:56:32.365642-05:00</Updated> </AddressResponseModel>