Tamio

List custom attributes

GET https://api.tamio.com/v2/products/custom-attributes/list

Query Parameters

page integer*
per_page integer*
order string
ascdesc
filter string

Responses

200 Custom attributes retrieved successfully

Custom attributes retrieved successfully

status integer
total_results integer
custom_attributes array of CustomAttribute
id string

Custom attribute UUID

integer_id integer

Internal numeric ID

label object

Multilingual labels keyed by language code

text boolean

Whether this attribute supports text values

link boolean

Whether this attribute supports link (URL) values

image boolean

Whether this attribute supports image values

feature boolean

Whether this attribute is a feature flag (checkmark)

400 Bad request (schema validation error)
401 Missing or invalid API key
/products/custom-attributes/list
1const response = await fetch("https://api.tamio.com/v2/products/custom-attributes/list", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "status": 200,
  "total_results": 0,
  "custom_attributes": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "integer_id": 456,
      "label": {
        "en": "Material",
        "de": "Material",
        "fr": "Matériau"
      },
      "text": true,
      "link": false,
      "image": false,
      "feature": true
    }
  ]
}