Skip to main content
GET
/
products
/
attributes
/
{id}
/
terms
[
  {
    "id": 23,
    "name": "Small",
    "slug": "small",
    "description": "Small size",
    "menu_order": 0,
    "count": 45
  },
  {
    "id": 24,
    "name": "Medium",
    "slug": "medium",
    "description": "Medium size",
    "menu_order": 1,
    "count": 78
  },
  {
    "id": 25,
    "name": "Large",
    "slug": "large",
    "description": "Large size",
    "menu_order": 2,
    "count": 67
  },
  {
    "id": 26,
    "name": "X-Large",
    "slug": "x-large",
    "description": "Extra large size",
    "menu_order": 3,
    "count": 42
  }
]

Path Parameters

id
integer
required

Unique identifier for the attribute.

Query Parameters

page
integer
default:1

Current page of the collection.

per_page
integer
default:10

Maximum number of items to return per page.

Response

Product attribute terms retrieved successfully.

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.

I