Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Data Structures‎ > ‎

Address

Will contain address information about a location.

Fields:
Field Data Type Nulls Description
city string
Y
The city for the address/location.
country
string
Y
The country for the address/location.
latitude floatY
The latitude for the address/location.
longitude floatY
The longitude for the address/location.
name string
Y
The name for the address/location.
phone stringYThe phone for the address/location.
postalCode stringYThe postal/zip code for the address/location.
state string
Y
The state for the address/location.
street1 string
Y
The primary street address for the address/location.
street2 string
Y
The secondary street address for the address/location.
website string
Y
The website for the address/location.
 

Sample JSON Response:
{
    "city": "New York",
    "country": "US",
    "latitude": null,
    "longitude": null,
    "name": null,
    "phone": null,
    "postalCode": "10003",
    "state": "NY",
    "street1": "321 Sesame St.",
    "street2": null,
    "website": "http://testvendor.com"
}



Sample XML Response:
<address>
    <city>New York</city>
    <country>US</country>
    <latitude i:nil="true"/>
    <longitude i:nil="true"/>
    <name i:nil="true"/>
    <phone i:nil="true"/>
    <postalCode>10003</postalCode>
    <state>NY</state>
    <street1>321 Sesame St.</street1>
    <street2 i:nil="true"/>
    <website>http://testvendor.com</website>
</address>

Comments