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

# Get product attribute terms

`GET /products/attributes/{attribute_id}/terms`

Returns a list of product attribute terms.

## Path parameters

- `attribute_id` integer, required

## Query parameters

- `context` 'view' | 'embed'
- `page` integer
- `per_page` integer
- `search` string
- `exclude` integer[]
- `include` integer[]
- `offset` integer
- `order` 'asc' | 'desc'
- `orderby` 'id' | 'include' | 'name' | 'slug' | 'term_group' | 'description' | 'count' | 'menu_order'
- `hide_empty` boolean
- `product` integer
- `slug` string

## Response `200`

List of product attribute terms.

- ProductAttributeTerm[]
  - `id` integer — Unique identifier for the resource.
  - `name` string — Term name.
  - `slug` string — An alphanumeric identifier for the resource unique to its type.
  - `description` string — HTML description of the resource.
  - `menu_order` integer — Menu order, used to custom sort the resource.
  - `count` integer — Number of published products for the resource.

## Other responses

- `404` — Product attribute not found.

---

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