v1Resources/Locations/postBulk edit locations

Bulk edit locations

Requires Clients access. Validates access to all processed locations before writing. Processes the first 100 IDs; overflow is returned as skipped_over_limit. Content checks can hold the entire batch; later failures are reported per location. Tags are merged. publish:true also pushes to Google. No caller-supplied content-check consent is accepted.

post/api/v1/locations/bulk-edit
locations:write
Request body
locationIdsarray of stringrequired
Location IDs or public IDs, 1 to 50,000. Without async, at most 1,000 are accepted and the first 100 are edited; the rest come back as skipped_over_limit. More than 1,000 requires async: true.
patchobjectoptional
Profile fields to check or change. Bulk edits use the same profile field names as location updates; omitted fields are retained.
overridesobjectoptional
googleobjectoptional
facebookobjectoptional
appleobjectoptional
bingobjectoptional
addTagsarray of stringoptional
removeTagsarray of stringoptional
publishbooleanoptional
asyncbooleanoptional
true runs the edit as a background job and answers 202 with a jobId instead of per-location results. Access to every location is checked before the job is queued; one inaccessible location refuses the request. A job accepts no content-check consent: locations held by content checks are skipped, so re-run those without async. Read progress with GET /api/v1/locations/bulk-edit-jobs/{id}.
Response
dataobjectoptional
updatedintegeroptional
totalintegeroptional
skippedintegeroptional
resultsarray of objectoptional
idstringoptional
okbooleanoptional
errorstringoptional
publishedobjectoptional
statusstringoptional
rejectedAttributesarray of stringoptional
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
409Content checks held the action, or the migration preview is stale or changed.
422The location operation needs attention or could not be completed.
429Too many requests. Retry after the number of seconds in the Retry-After header.
503The location operation needs attention or could not be completed.
post/api/v1/locations/bulk-edit
Your API key
Request body*
{}

Guides that use this resource