Merge tag values
Merges one or more (source) tag values into another (target) tag value.
Example
- Taggable entity
Ais tagged with tag value1. - Taggable entity
Bis tagged with tag value2. - Tag value
3is created. - Merge Operation: Source tag values
1and2are merged into target tag value3. The endpoint returns the target tag value3. - Taggable entity
Aand taggable entityBare now tagged with3and no longer have tag values1and2. - Tag values
1and2are now archived.
Use-cases
Bulk deduplication or consolidation of tag values.- Example deduplication:
Location: san francisco&Location: SF→Location: San Francisco. - Example consolidation:
Location: San Francisco&Location: San Jose→Location: Bay Area.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Content-Type must be set to application/json.
Path Parameters
The UUID of the business.
The UUID of the tag value to merge into.
Body
UUIDs of the source tag value definitions to merge into the target. At least one source tag value UUID is required. All source tag values are archived after the merge, and all objects tagged with it are re-tagged to the target value. Source tag values must belong to the same tag dimension as the target.
1Response
Tag values merged successfully. Returns the target tag value.