Create Brand

POST {{baseUrl}}/brands

This endpoint allows you to create a new brand and return the brand id and its details.

Request Body

[{"name"=>"name", "value"=>"ZARA", "datatype"=>"string"}, {"name"=>"description", "value"=>"ZARA", "datatype"=>"string"}, {"name"=>"logo", "value"=>nil, "datatype"=>"null"}, {"name"=>"banner", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status":201,"success":true,"data":{"id":1283560901,"name":"salamaBrand","description":"Al Salama Brand","banner":"https://i.ibb.co/jyqRQfQ/avatar-male.webp","logo":"https://i.ibb.co/jyqRQfQ/avatar-male.webp","ar_char":"س","en_char":"s"}}