# Update tags for this listing

`PUT /listings/{id}/tags`

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/update-listing-tags · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Operation ID: `updateListingTags` · Tag: Listing Tags · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

This allows to add new tags or completely overwrite all tags for this listing.

## Request

`PUT https://api.usewheelhouse.com/ss_api/v1/listings/{id}/tags`

Authentication: send your integration API key in the `X-Integration-API-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/pro/authentication.md).

### Request body (`application/json`, required)

- `names` (array of string, required): List of tag names to be added or updated.
- `overwrite` (boolean, default: `false`): Whether to overwrite all existing tags and thus delete all tags that are not in the list.

### Example request

```bash
curl -X PUT 'https://api.usewheelhouse.com/ss_api/v1/listings/{id}/tags' \
  -H 'X-Integration-API-Key: <your integration API key>' \
  -H 'X-User-API-Key: <your user API key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "names": [
    "Beachfront",
    "Pet friendly"
  ],
  "overwrite": false
}'
```

Path and query parameters are placeholders. The body is a complete example; replace its values with your own.

## Responses

### 200

Successfully updated tags

Body (`application/json`): array of object

- `id` (integer, required): The tag ID.
- `name` (string, required): Name of the tag.
- `description` (string, required, nullable): More detailed description provided by the user. `null` for tags created through this API.
- `type` (string, required): The tag type, `UserTag` or `ImportedTag`.

Example shape (generated from the schema; placeholder values, not a real response):

```json
[
  {
    "id": 0,
    "name": "string",
    "description": "string",
    "type": "string"
  }
]
```

### 401

API key authorization failed

### 403

Listing authorization failed

### 404

Listing not found

### 409

Another request is already in progress for this listing. Retry after the concurrent request completes.
