Skip to main content

Brand

Brands represent the commercial brands that can be associated with products in the TrackVision system.

The brand Object

Brands store information about commercial brand identities including names, sub-brands, and visual assets.

Field NameTypeDescription
iduuidPrimary key for the brand.
user_createdobjectUser who created the brand. Read-only. Links to directus_users.
date_createddatetimeTimestamp in ISO 8601 when the brand was created. Read-only.
user_updatedobjectUser who last updated the brand. Read-only. Links to directus_users.
date_updateddatetimeTimestamp in ISO 8601 when the brand was last updated. Read-only.
brand_namestringThe primary commercial name of the brand.
sub_brand_namestringSecondary or sub-brand name for brand variants or extensions.
accountobjectAccount associated with this brand. (Multi-tenant installations only)
primary_imageobjectPrimary image file for the brand (logo, trademark, etc.). Links to directus_files.
translationsarray of objectsTranslations for multi-lingual brand content.

Sub-Objects

User Object (user_created, user_updated)

See Users for the full schema.

Account Object (account)

See Account for the full schema.

File Object (primary_image)

See Files for the full schema.

Brand Translation Object (translations)

FieldTypeDescription
idintegerUnique identifier of the translation record.
languages_codestringLanguage code for this translation (e.g., "en-US").
brand_namestringTranslated brand name.
sub_brand_namestringTranslated sub-brand name.
brand_contentstringTranslated brand content/description.

List Brands

List existing brands.

GET /items/brand

Query Parameters

Supports all global query parameters.

Returns

An array of up to limit brand objects. If no items are available, data will be an empty array.


Retrieve a Brand

Retrieve a specific brand by ID.

GET /items/brand/:id

Returns

Returns a brand object if a valid primary key was provided.


Create a Brand

Create a new brand.

POST /items/brand

{
"brand_name": "TrackVision Premium",
"sub_brand_name": "Eco-Friendly Line"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial brand object.

Returns

Returns the brand object for the created brand.


Update a Brand

Update an existing brand.

PATCH /items/brand/:id

{
"brand_name": "TrackVision Premium - Updated",
"sub_brand_name": "Sustainable Products"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial brand object.

Returns

Returns the brand object for the updated brand.


Delete a Brand

Delete an existing brand.

DELETE /items/brand/:id

Returns

Empty body.