v1Resources/Locations/postAdd locations to a tag

Add locations to a tag

Applies an existing tag to one or more locations.

post/api/v1/locations/tags/{id}/locations
locations:write
Query parameters
idstringrequired
ID of the tag.
Request body
locationIdsarray of stringrequired
IDs of the locations to tag.
Response
dataobjectoptional
addedarray of stringoptional
IDs of the locations the tag was actually added to.
skippedarray of stringoptional
IDs of the locations skipped because they already carried this tag.
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.
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/locations/tags/{id}/locations
Your API key
id *
Request body*
{
  "data": {
    "added": [
      "loc_456"
    ],
    "skipped": []
  }
}