Retrieve a category

GET https://api.tamio.com/v2/categories/retrieve/{uuid}

Retrieves a single category by its UUID. Returns the full category object including children, config, product counts, and hierarchical paths.

Path Parameters

uuid string*

UUID of the category to retrieve.

Responses

200 Category retrieved successfully

Category retrieved successfully

status integer
category Category
400 Validation or business logic error. Returned when:
401 Unauthorized – invalid or missing Bearer token
/categories/retrieve/{uuid}
1const response = await fetch("https://api.tamio.com/v2/categories/retrieve/{uuid}", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "status": 200,
  "category": {
    "id": "c3d4e5f6-a1b2-7890-cdef-1234567890ab",
    "parent_id": "string",
    "slug": "electronics",
    "icon": "string",
    "status": true,
    "object": "category",
    "integer_id": 42,
    "name": "Electronics",
    "created_at": 1709500800,
    "asset_id": "string",
    "children": [],
    "config": {},
    "number_of_subcategories": 3,
    "number_of_products": 50,
    "number_of_sites": 2,
    "path": "string",
    "label_path": "string",
    "image": {}
  }
}