# Retrieve a taxonomy

`GET https://api.cademi.com.br/api/v3/products/{product_id}/taxonomies/{taxonomy_id}`

Operation ID: `taxonomies.get` · API v3

Retrieves a taxonomy of a product by its public ID.

The response includes an `ETag` representing the current revision. Send this value in the `If-Match` header when updating or deleting the taxonomy to avoid overwriting a newer version.

Required permissions: `taxonomies.read`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `product_id` | path | string | yes |  |
| `taxonomy_id` | path | string | yes |  |

## Responses

### 200

Returns the requested taxonomy.

Body: `data`: Taxonomy.

Fields of Taxonomy:

| Field | Type | Required | Description |
|---|---|---|---|
| `created_at` | string (date-time) | yes |  |
| `id` | string | yes | Public ID, with the tax_ prefix. |
| `name` | string | yes |  |
| `object` | string, one of `taxonomy` | yes |  |
| `plural_name` | string | yes |  |
| `product_id` | string | yes | Public ID, with the prd_ prefix. |
| `revision` | string | yes |  |
| `terms_count` | integer | yes |  |
| `updated_at` | string (date-time) | yes |  |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The taxonomy was not found in this product or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
