Skip to main content
GET
/
api
/
v2
/
categories
/
{category_uuid}
Retrieve Category
curl --request GET \
  --url https://api.legitmark.com/api/v2/categories/{category_uuid}
{
  "message": "Category fetched successfully",
  "category": "SUCCESS",
  "data": {
    "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Bags",
    "description": "Luxury handbags and purses",
    "active": true,
    "created_at": "2024-01-01T00:00:00.000Z",
    "updated_at": "2024-01-01T00:00:00.000Z"
  }
}

Path Parameters

category_uuid
string<uuid>
required

Response

Category retrieved successfully

message
string
required
Example:

"Category fetched successfully"

category
enum<string>
required
Available options:
SUCCESS
Example:

"SUCCESS"

data
object
required
rc_hit
boolean

Indicates if the response was served from cache

Example:

false

rc_key
string

Cache key used for this response

Example:

"categories:abc123"