---
title: "Get single product attribute"
method: GET
path: "/products/attributes/{id}"
tags: ["product-attributes"]
---

# Get single product attribute

`GET /products/attributes/{id}`

Gets a single product attribute by ID.

## Path parameters

- `id` integer, required

## Response `200`

Product attribute retrieved successfully.

- ProductAttribute
  - `id` integer — Attribute ID.
  - `name` string — Attribute name.
  - `position` integer — Attribute position.
  - `visible` boolean — Define if the attribute is visible on the "Additional information" tab in the product's page.
  - `variation` boolean — Define if the attribute can be used as variation.
  - `options` string[] — List of available term names of the attribute.

## Other responses

- `400` — Bad request - invalid attribute ID.
- `404` — Product attribute not found.

---

[API](https://skmtc.net/cocartapi/apis/cocart-jwt-authentication.md) · [All operations](https://skmtc.net/cocartapi/apis/cocart-jwt-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cocartapi/cocart-jwt-authentication/versions/2031b047ca5f/schema)
