Skip to main content
GET
/
api
/
v2
/
types
/
{type_uuid}
/
brands
Get Brands for Type
curl --request GET \
  --url https://api.example.com/api/v2/types/{type_uuid}/brands \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "message": "Brands fetched successfully",
  "data": [
    {
      "uuid": "e5f6a7b8-c9d0-1234-efab-567890123456",
      "name": "Louis Vuitton",
      "media": "https://media.legitmark.com/brands/lv-logo.png",
      "active": true,
      "ordinal": 1,
      "relation_active": true,
      "brand_active": true,
      "side_group_count": 5
    },
    {
      "uuid": "f6a7b8c9-d0e1-2345-fabc-678901234567",
      "name": "Chanel",
      "media": "https://media.legitmark.com/brands/chanel-logo.png",
      "active": true,
      "ordinal": 2,
      "relation_active": true,
      "brand_active": true,
      "side_group_count": 4
    }
  ],
  "total": 2
}

Authorizations

x-api-key
string
header
required

API key for application authentication (format: leo_xxxxxxxxx)

Path Parameters

type_uuid
string<uuid>
required

Type UUID

Query Parameters

include_counts
boolean
default:false

Include side group counts for each brand

include_inactive
boolean
default:false

Include inactive brands in the response

Response

Brands retrieved successfully

The response is of type any.