Locations Data
Update a Location
Make changes to a location. Any blank parameter deletes an old value; any unspecified parameter is left unchanged.
Caution! Changing the Location Name, Country, Street, ZIP, City, Province, Phone Number, or Primary Business Category may cause your listings to become unverified on Google, which could temporarily impact your visibility.
patch/locations/{id}
Path parameters
idstring required
The uberall unique id for the location you want to update
Request body
Example request
{
"openingHours": [
{
"dayOfWeek": 1,
"closed": false,
"from1": "08:00",
"to1": "11:00"
},
{
"dayOfWeek": 2,
"closed": false,
"from1": "08:00",
"to1": "11:00",
"from2": "13:00",
"to2": "21:00"
},
{
"dayOfWeek": 3,
"closed": true
}
],
"specialOpeningHours": [
{
"date": "2017-06-29",
"closed": true
},
{
"date": "2017-06-30",
"from1": "11:00",
"to1": "14:00",
"from2": "16:00",
"to2": "20:00"
}
],
"name": "Coffee House Berlin",
"street": "Friedrichstraße",
"streetNo": "45A",
"addressExtra": "Suite 304",
"zip": "10115",
"city": "Berlin",
"province": "Berlin",
"country": "DE",
"lat": 52.52,
"lng": 13.405,
"addressDisplay": true,
"phone": "+4912345678",
"fax": "+4912345678",
"cellphone": "+4912345678",
"website": "https://www.example.com",
"email": "info@example.com",
"openingHoursNotes": "We never open on bank holidays",
"paymentOptions": [
"-cash",
"credit card",
"invoice"
],
"serviceAreas": [
{
"name": "Berlin, Deutschland",
"placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ"
}
],
"doctorComData": {
"doctorCategoriesDetailed": [
{
"id": 111,
"nuccTaxonomyCode": "207RI0011X"
}
]
},
"customFields": [
{
"name": "foo",
"value": "bar"
}
],
"attributes": [
{
"valueType": "BOOL, URL, ENUM, REPEATED_ENUM"
}
],
"businessId": 1234,
"linkedToLocationGroups": [
{
"locations": [
{
"id": 1,
"name": "Location 1",
"status": "ACTIVE"
}
],
"users": [
{
"id": 1,
"email": "jan.didschuneit@uberall.com",
"firstName": "Jan",
"lastName": "Didschuneit",
"role": "ADMIN",
"status": "VERIFIED"
}
]
}
],
"locatedIn": [
{
"placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ",
"relationType": "DEPARTMENT_OF",
"lat": 52.52,
"lng": 13.405
}
],
"moreHours": [
{
"hours": [
{
"dayOfWeek": 1,
"from": "08:00",
"to": "18:00"
}
]
}
],
"skipFacebookPicturesUpdate": true,
"contentCollections": {
"contentLists": [
{
"title": "Lunch Menu",
"items": [
{
"category": "Starters, Drinks, Desert, etc."
}
]
}
]
},
"services": [
{
"currency": "USD"
}
]
}Response
Location successfully edited
Example response
{
"response": {
"location": {
"openingHours": [
{
"dayOfWeek": 1,
"closed": false,
"from1": "08:00",
"to1": "11:00"
},
{
"dayOfWeek": 2,
"closed": false,
"from1": "08:00",
"to1": "11:00",
"from2": "13:00",
"to2": "21:00"
},
{
"dayOfWeek": 3,
"closed": true
}
],
"specialOpeningHours": [
{
"date": "2017-06-29",
"closed": true
},
{
"date": "2017-06-30",
"from1": "11:00",
"to1": "14:00",
"from2": "16:00",
"to2": "20:00"
}
],
"name": "Coffee House Berlin",
"street": "Friedrichstraße",
"streetNo": "45A",
"addressExtra": "Suite 304",
"zip": "10115",
"city": "Berlin",
"province": "Berlin",
"country": "DE",
"lat": 52.52,
"lng": 13.405,
"addressDisplay": true,
"phone": "+4912345678",
"fax": "+4912345678",
"cellphone": "+4912345678",
"website": "https://www.example.com",
"email": "info@example.com",
"openingHoursNotes": "We never open on bank holidays",
"paymentOptions": [
"-cash",
"credit card",
"invoice"
],
"serviceAreas": [
{
"name": "Berlin, Deutschland",
"placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ"
}
],
"doctorComData": {
"doctorCategoriesDetailed": [
{
"id": 111,
"nuccTaxonomyCode": "207RI0011X"
}
]
},
"customFields": [
{
"name": "foo",
"value": "bar"
}
],
"attributes": [
{
"valueType": "BOOL, URL, ENUM, REPEATED_ENUM"
}
],
"businessId": 1234,
"linkedToLocationGroups": [
{
"locations": [
{
"id": 1,
"name": "Location 1",
"status": "ACTIVE"
}
],
"users": [
{
"id": 1,
"email": "jan.didschuneit@uberall.com",
"firstName": "Jan",
"lastName": "Didschuneit",
"role": "ADMIN",
"status": "VERIFIED"
}
]
}
],
"locatedIn": [
{
"placeId": "ChIJAVkDPzdOqEcRcDteW0YgIQQ",
"relationType": "DEPARTMENT_OF",
"lat": 52.52,
"lng": 13.405
}
],
"moreHours": [
{
"hours": [
{
"dayOfWeek": 1,
"from": "08:00",
"to": "18:00"
}
]
}
],
"skipFacebookPicturesUpdate": true,
"contentCollections": {
"contentLists": [
{
"title": "Lunch Menu",
"items": [
{
"category": "Starters, Drinks, Desert, etc."
}
]
}
]
},
"services": [
{
"currency": "USD"
}
]
}
}
}