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.
Path parameters
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"
}
]
}
}
}Changes
Changed in 7 of the 14 revisions of this API.158
- ▲
the
response/location/addressExtraresponse property's maxLength was increased from64to255for the response status200response-property-max-length-increased
- ○
the
addressExtrarequest property's maxLength was increased from64to255request-property-max-length-increased
- ▲
- ●
removed the request property
socialPostIdrequest-property-removed
- ●
removed the optional property
response/location/socialPostIdfrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the new optional request property
socialPostIdnew-optional-request-property
- ○
added the optional property
response/location/socialPostIdto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
REVIEW_TRANSLATIONenum value to theresponse/location/features/items/response property for the response status200response-property-enum-value-added
- ○
added the new
REVIEW_TRANSLATIONenum value to the request propertyfeatures/items/request-property-enum-value-added
- ●
- ●
removed the request property
productPlanIdrequest-property-removed
- ●
removed the optional property
response/location/productPlanIdfrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the new optional request property
productPlanIdnew-optional-request-property
- ○
added the optional property
response/location/productPlanIdto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional request property
productPlanIdnew-optional-request-property
- ○
added the optional property
response/location/productPlanIdto the response with the200statusresponse-optional-property-added
- ○
Of the 14 revisions, 2 have no diff computed.