Locations Data
Update Several Locations
Make changes to a list of locations. Any blank parameter deletes an old value, any unspecified parameter does nothing
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
Request
- Base URLhttps://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api
- AuthHTTP bearer
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": "jane.doe@example.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
Locations successfully updated
Example response
{
"response": {
"updatedCount": 10,
"failedCount": 2,
"missingIdCount": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.