Skip to main content
GET
/
products
/
attributes
Error
A valid request URL is required to generate request examples
[
  {
    "id": 1,
    "name": "Size",
    "position": 0,
    "visible": true,
    "variation": true,
    "options": [
      "Small",
      "Medium",
      "Large",
      "X-Large",
      "2X-Large"
    ]
  },
  {
    "id": 2,
    "name": "Color",
    "position": 1,
    "visible": true,
    "variation": true,
    "options": [
      "Red",
      "Blue",
      "Green",
      "Black",
      "White",
      "Navy Blue",
      "Gray"
    ]
  },
  {
    "id": 3,
    "name": "Material",
    "position": 2,
    "visible": true,
    "variation": false,
    "options": [
      "Cotton",
      "Polyester",
      "Wool",
      "Silk"
    ]
  }
]

Response

Product attributes retrieved successfully.

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.