Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.32 KB

File metadata and controls

45 lines (32 loc) · 1.32 KB

POST /api/v1/admin/brands

Create a new brand.


Permissions

Permission Description
brands.view_all Access brands
brands.create Create a brand

Request Body Parameters

Name Type Required Description
title string Yes Name of the brand (max 255)
link string No Website link (max 255, optional)
description string No Description (optional)

Response

200 OK

Returns the created brand resource.

{
  "data": { /* brand resource */ }
}

See Brand Resource.


Error Responses

Status Description Reference
422 Validation error Validation error
401 Unauthorized Authentication error
403 Forbidden Permission error