---
updatedAt: 2026-05-13T17:42:10.000Z
agentTools:
  projectIndex: https://docs.clover.com/dev/llms.txt
---

# Manage tags

[block:html]
{
  "html": "<div class=\"container-top\">\n  \n<!--United States-->\n  <div class=\"container-reg\">\n    <div class=\"pill-reg\">\n      <div class=\"label-reg\">United States</div>\n    </div>\n  </div>\n  <!--Canada-->\n  <div class=\"container-reg\">\n    <div class=\"pill-reg\">\n      <div class=\"label-reg\">Canada</div>\n    </div>\n  </div>\n  <!--Europe-->\n  <div class=\"container-reg\">\n    <div class=\"pill-reg\">\n      <div class=\"label-reg\">Europe</div>\n    </div>\n  </div>  \n</div>\n\n\n<!--Css-->\n<style>\n.container-top {\n  top: -15px;\n  position: relative;\n  margin-bottom: -5px;\n}\n\n.container-reg {\n  align-items: center;\n  min-width: auto; \n  width: fit-content;\n  text-align: left;\n  overflow: auto;\n  display: inline-block; \n}\n\n/*Pill format REG*/\n.pill-reg {\n  background: #44BB44;\n  border: .5px solid #44BB44;\n  margin-left: 5px;\n  overflow: auto;\n  display: flex; \n  justify-content: center; \n  align-items: center; \n  border-radius: 10px;\n  height: 1.8rem;\n  margin-top: 10px;\n  margin-bottom: 1.5px; \n  padding: 0 10px; \n}\n\n/*Text FORMAT inside REG pills */\n.pill-reg .label-reg, \n.pill-reg__addon .label-reg \n{\n  font-style: normal;\n  font-weight: normal;\n  font-size: 12px;\n  color: #fff;\n  vertical-align: middle;\n  margin: 0;\n  padding: 0 5px;\n}\n</style>"
}
[/block]

In the Clover REST API, item labels are identified as tags. Merchants use tags to categorize items for tracking and reporting purposes. With the REST API, you can build custom solutions to create, manage, and query items based on their tags.

# Prerequisite

[Create merchant-specific API token in sandbox](https://docs.clover.com/dev/docs/gdp-create-merchant-specific-api-token).

# Create a tag

1. Send a POST request to `/v3/merchants/{mId}/tags`.
2. Enter required information—`mId` and `name`.
3. Set the `showInReporting` value to `true` for using the tag as a summary label in the Clover Reporting app.
4. Set the Authorization header as Bearer token type, and enter the test API token.

In response, a unique tag `id` is generated.

## Request and Response example—Create a tag

```curl Request
curl --request POST \
--url 'https://apisandbox.dev.clover.com/v3/merchants/{mId}/tags' \
--header 'content-type: application/json' \
--header 'User-Agent: PostmanRuntime/7.44.1' \
--header 'Authorization: Bearer {access_token}'
--data '{"name":"Food & beverages","showInReporting":"true"}'
```
```curl Response
{
    "id": "3VC6H9Y72N1NG" // tag ID
    "name": "Food & beverages"
    "showInReporting": true
}
```

***

# Manage tags

## Associate items with a tag

1. Send a POST request to `/v3/merchants/{mId}/tag_items`.
2. Enter required information—`mId`, tag `id` and item `id`.
3. Set the Authorization header as Bearer token type, and enter the mecrhant's API token.

### Request example—Associate items with a tag

```curl Associate items with a tag
curl --request POST \
--url 'https://apisandbox.dev.clover.com/v3/merchants/{mId}tag_items' \
--header 'content-type: application/json' \
--header 'User-Agent: PostmanRuntime/7.44.1' \
--header 'Authorization: Bearer {access_token}' \
--data '{"elements":[{"tag":{"id":"{tagId}"},"item":{"id":"{item1Id}"}},{"tag":{"id":"{tagId}"},"item":{"id":"{item2Id}"}}]}'
```

## View tags associated with an item

1. Send a GET request to `/v3/merchants/{mId}/items/{itemId}?expand=tags`.
2. Enter required information—`mId` and item `id`.
3. Set the Authorization header as Bearer token type, and enter the mecrhant's API token.

In response, the `tags` expansion displays tags associated with the item.

### Request and Response example—View tags associated with an item

```curl Request
curl --request GET \
--url 'https://apisandbox.dev.clover.com/v3/merchants/{mId}/items/{itemId}?expand=tags' \
--header 'content-type: application/json' \
--header 'User-Agent: PostmanRuntime/7.44.1' \
--header 'Authorization: Bearer {access_token}'
```
```json Response
{
    "id": "N2WWSQBTAADZC", // item ID
    "hidden": false,
    "name": "Greek Salad",
    ...
    "tags": { // expansion
        "elements": [
            {
                "id": "3VC6H9Y72N1NG",
                "name": "Food & beverages",
                "showInReporting": true,
                "items": {
                    "elements": [
                        {
                            "id": "N2WWSQBTAADZC"
                        }
                    ]
                }
            }
        ]
    },
    "modifiedTime": 1611643817000
}
```

See [Use expandable fields](https://docs.clover.com/dev/docs/expanding-fields) for more information on working with `expand` parameters in your requests.

## Delete association between an item and tag

1. Send a POST request to `/v3/merchants/{mId}/tag_items?delete=true`.
2. Enter required information—`mId`, tag `id` and item `id`.
3. Set the `delete` value as `true`.

### Request example—Delete item associations

```curl Request
curl --request POST \
--url 'https://apisandbox.dev.clover.com/v3/merchants/{mId}tag_items?delete=true' \
--header 'content-type: application/json' \
--header 'User-Agent: PostmanRuntime/7.44.1' \
--header 'Authorization: Bearer {access_token}' \
--data '{"elements":[{"tag":{"id":"{tagId}"},"item":{"id":"{itemId}"}}]}'
```

***

# View items with a tag

1. Send a GET request to `/v3/merchants/{mId}/tags/{tagId}/items`.
2. Use filters and expansions to indicate your search parameters.
3. Set the Authorization header as Bearer token type, and enter the test API token.

In the following example, the `filter` parameter is used to filter by price and the `expand` parameter is used to provide more information about categories and modifier groups. In response, items that match the search filter are displayed.

## Request and Response example—View items with a tag

```curl Request
curl --request GET \
--url 'https://apisandbox.dev.clover.com/v3/merchants/{mId}/tags/{tagId}/items?filter=price=1000&expand=categories&expand=modifierGroups' \
--header 'content-type: application/json' \
--header 'User-Agent: PostmanRuntime/7.44.1' \
--header 'Authorization: Bearer {access_token}'
```
```json Response
{
    "elements": [
        {
            "id": "N2WWSQBTAADZC", // item matches filter
            "hidden": false,
            "name": "Greek Salad",
            "price": 1000,
            ...
            "modifierGroups": { // expansion
                "elements": [
                    {
                        "id": "QZ587JT76N80Y",
                        "name": "Salad Add-in",
                        "showByDefault": true,
                        "modifierIds": "S47VGYX913K4T,JRMCKCQK1XCGT",
                        ...
                    }
                ]
            },
            "categories": { // expansion
                "elements": [
                    {
                        "id": "AN7WTGHSKE9XG",
                        "name": "Salads",
                        ...
                    }
                ]
            },
            "modifiedTime": 1611643817000
        }
    ],
    "href": "http://apisandbox.dev.clover.com/v3/merchants/{mId}/tags/{tagId}/items?filter=price%3E%3D1000"
}
```

See [Apply filters](https://docs.clover.com/dev/docs/applying-filters) and [Use expandable fields](https://docs.clover.com/dev/docs/expanding-fields) for more information on working with `filter` and `expand` parameters in your requests.

***

# Related topics

* [Work with inventory](https://docs.clover.com/dev/docs/working-with-inventory)
* [Create a tag](https://docs.clover.com/dev/reference/tagcreatetag) endpoint
* [Get tags for a single item](https://docs.clover.com/dev/reference/taggetitemtags) endpoint
* [Get all items for a single tag](https://docs.clover.com/dev/reference/taggettaggeditems) endpoint
* [Create or delete associations between tags and items](https://docs.clover.com/dev/reference/tagcreateordeletetagitems) endpoint
* [Clover Help—Define your items](https://www.clover.com/en-US/help/define-your-items)