# Tags

Tags are where you'll have the ability to tag customers with a certain condition, for example, "Golf Member" then within Stampede, you'll be able to create a segment that searches for customers with this tag/multiple tags.

## Fetch the current tags of a guest

<mark style="color:blue;">`GET`</mark> `/v1/guests/:guest_id/tags`

#### Query Parameters

| Name      | Type   | Description |
| --------- | ------ | ----------- |
| guest\_id | String |             |

{% tabs %}
{% tab title="200: OK " %}

{% endtab %}
{% endtabs %}

## Add a new/existing tag to a guest

<mark style="color:orange;">`PUT`</mark> `/v1/guests/:guest_id/tags`

#### Request Body

| Name                                   | Type   | Description |
| -------------------------------------- | ------ | ----------- |
| name<mark style="color:red;">\*</mark> | String |             |

{% tabs %}
{% tab title="200: OK " %}

{% endtab %}

{% tab title="400: Bad Request " %}

{% endtab %}
{% endtabs %}
