Brands / List

List brands for the current tenant

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/brands

Method: GET

Authorisation: Minimum role: USER

Request Arguments
Name Type Source
filterDTO_standard_filterQuery

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_brand[]

Wrapper: DTO_response_wrap_get_many

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_standard_filter
NameTypeReadOnlyDescription
channelStringChannel
sort_by_keyStringSort by key
brand_idsInt32[]Brand ids
response_field_keysString[]Only return the fields specified
filtersString[]Each string needs to be structured: filters=field_key:operator:value1|value2|value3 Only used to store filters for passing along as querystring
include_aggregationsBooleanInclude aggregations
include_importedBooleanInclude imported
searchStringSearch
sort_orderENUM sort_orderSort order
takeInt32Take
pageInt32Page
DTO_brand
NameTypeReadOnlyDescription
user_brandsDTO_reference_brand_user[]User brands
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
idInt32ReadOnlyLeave empty on input
nameStringName
tenantDTO_referenceReadOnlyTenant
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
current_user_rolebrand_user_role (nullable)ReadOnlyThe current user's effective brand role on this brand, after tenant → brand short-circuit. Tenant OWNER/ADMIN and SUPER_ADMIN are projected as USER.
is_activeBooleanReadOnlyIs active
DTO_reference_brand_user
NameTypeReadOnlyDescription
brand_role_enum_idbrand_user_role (nullable)Per-brand role for the user, when this reference appears inside a brand's user_brands list.
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
role_enum_idtenant_user_role (nullable)Role enum id
idInt32Id
labelObjectReadOnlyLabel
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
role_enum_idtenant_user_role (nullable)Role enum id
idInt32Id
labelObjectReadOnlyLabel
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
ENUM sort_order
ValueNameDescription
0ASCASC
1DESCDESC