Get Category
curl --request GET \
--url https://api.legitmark.com/api/v2/categories/{category_uuid} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.legitmark.com/api/v2/categories/{category_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.legitmark.com/api/v2/categories/{category_uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.legitmark.com/api/v2/categories/{category_uuid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"message": "Category fetched successfully",
"category": "SUCCESS",
"data": {
"uuid": "cc30b104-7c47-11ef-a623-02595575faeb",
"name": "Bag",
"sides": [
"3c14c21f-8134-11ef-9e85-02d0d7ecc26b",
"3c14e254-8134-11ef-9e85-02d0d7ecc26b"
],
"media": "https://cdn.legitmark.com/categories/cc30b104-7c47-11ef-a623-02595575faeb.png",
"feature": true,
"ordinal": 2,
"active": true,
"created_at": "2024-09-26T20:42:08.000Z",
"updated_at": "2025-11-26T16:21:04.000Z"
},
"rc_hit": true,
"rc_key": "categories:dd694701b7ae644dfbc319d2645dec0c"
}{
"success": false,
"error": {
"code": 123,
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"details": "<string>"
}
}Taxonomy
Get Category
Retrieve details for a specific category with enhanced data.
GET
/
api
/
v2
/
categories
/
{category_uuid}
Get Category
curl --request GET \
--url https://api.legitmark.com/api/v2/categories/{category_uuid} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.legitmark.com/api/v2/categories/{category_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.legitmark.com/api/v2/categories/{category_uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.legitmark.com/api/v2/categories/{category_uuid}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"message": "Category fetched successfully",
"category": "SUCCESS",
"data": {
"uuid": "cc30b104-7c47-11ef-a623-02595575faeb",
"name": "Bag",
"sides": [
"3c14c21f-8134-11ef-9e85-02d0d7ecc26b",
"3c14e254-8134-11ef-9e85-02d0d7ecc26b"
],
"media": "https://cdn.legitmark.com/categories/cc30b104-7c47-11ef-a623-02595575faeb.png",
"feature": true,
"ordinal": 2,
"active": true,
"created_at": "2024-09-26T20:42:08.000Z",
"updated_at": "2025-11-26T16:21:04.000Z"
},
"rc_hit": true,
"rc_key": "categories:dd694701b7ae644dfbc319d2645dec0c"
}{
"success": false,
"error": {
"code": 123,
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"details": "<string>"
}
}Authorizations
Bearer token authentication. Use your API key in the format: Bearer leo_xxxxxxxx
Path Parameters
Response
Category retrieved successfully
Example:
"Category fetched successfully"
Available options:
SUCCESS Example:
"SUCCESS"
Hide child attributes
Hide child attributes
Example:
"Bag"
Array of side UUIDs associated with this category
Media URL for the category image
Whether this category is featured
Display order
Whether this category has associated brands
Indicates if the response was served from cache
Example:
false
Cache key used for this response
Example:
"categories:abc123"