AdStoreLocation
Key | Type | Description |
---|---|---|
storeName | string | A List of adIds |
address | address | Store location metadata |
phoneNumber | string | Merchant location phone number |
distance | double | Distance the merchant is located at from the user’s current location in meters |
latitude | double | Merchant location latitude |
longitude | double | Merchant location longitude |
Address
Key | Type | Description |
---|---|---|
addressLine1 | string | Merchant address line 1 |
addressLine2 | string | Merchant address line 2 |
city | string | Merchant location city |
state | string | Merchant state |
postalCode | string | Merchant postal code |
Country | string | Merchant country |
"adStoreLocations": {
"5640760944": [
{
"storeName": "Mcdonalds",
"address": {
"addressLine1": "123 Front St",
"addressLine2": "Suite 1",
"city": "San Francisco",
"state": "CA",
"postalCode": "94105",
"country": "US"
},
"phoneNumber": "123-456-7890",
"distance": 1345.34,
"latitude": 37.7749,
"longitude": 122.4194
},
{
"storeName": "Mcdonalds",
"address": {
"addressLine1": "124 Front St",
"addressLine2": "Suite 11",
"city": "San Francisco",
"state": "CA",
"postalCode": "94115",
"country": "US"
},
"phoneNumber": "123-456-7890",
"distance": 1000.23,
"latitude": 37.7749,
"longitude": 122.4194
}
],
"15640760334": [
{
"storeName": "Dunkin",
"address": {
"addressLine1": "1240 Front St",
"addressLine2": "",
"city": "San Francisco",
"state": "CA",
"postalCode": "94101",
"country": "US"
},
"phoneNumber": "123-456-7291",
"distance": 346,
"latitude": 15.7749,
"longitude": 102.4194
}
]
}
}