Welcome‎ > ‎Version 2‎ > ‎Publisher Api (Read/Write)‎ > ‎Data Structures‎ > ‎

Merchant

Information about a merchant.

Fields:
 
  address - The Address of the merrchant
  companyName - The name of the merchant.
  id - The internal id used to identify the merchant
  website - The merchants website.  Can be null.

Sample XML Response:
<merchant>
    <address>
        <city>NY</city>
        <country i:nil="true"/>
        <latitude>43.12</latitude>
        <longitude>-98.43</longitude>
        <name i:nil="true"/>
        <postalCode>10003</postalCode>
        <state>NY</state>
        <street1>220 Park Avenune</street1>
        <street2 i:nil="true"/>
    </address>
    <companyName>Haru Gramercy Park</companyName>
    <id>1024</id>
    <website>http://www.harusushi.com</website>
</merchant>


Sample JSON Response:
{
    "merchant": {
        "address": {
            "city": "NY",
            "country": null,
            "latitude": 43.12,
            "longitude": -98.43,
            "name": null,
            "postalCode": "10003",
            "state": "NY",
            "street1": "220 Park Avenune",
            "street2": null
        },
        "companyName": "Haru Gramercy Park",
        "id": 1024,
        "website": "http:\/\/www.harusushi.com"
    }
}

Comments