Edara API v3

Edara API v3: Brands

Read the guide first: authentication, paging, errors, rate limits and the shared PagedResult, BatchResult and *Reference shapes.

Endpoints

GET /v3/brands: Lists brands.

Operation GetBrands · permission read:brand

Query string: GetBrandsQuery

field type default validation description
offset int? 0 >= 0 Number of items to skip before returning results. Defaults to 0.
limit int? 100 1..1000 (out of range → 400) Maximum number of items to return. Defaults to 100, maximum 1000.
name string Brand name filter.

Responses: OK PagedResult<BrandResponse>: Paged list of brands.

Notes


GET /v3/brands/{id}: Gets a brand by id.

Operation GetBrandById · permission read:brand

Parameters

name in type default description
id route int The brand id.

Responses: OK BrandResponse: The brand.


POST /v3/brands: Creates a brand.

Operation CreateBrand · permission create:brand

Body: BrandUpsertRequest

field type default validation description
name string NotEmpty() .MaximumLength(50) Brand name.
brandManager string MaximumLength(50) Optional brand manager.

Responses: Created BrandResponse: Brand created.

Business errors (HTTP 409, match on errorCode):

Notes

Types

BrandResponse

Response describing a brand.

field type description
id int Brand identifier.
name string Brand name.
brandManager string Optional brand manager.