Light Mode
Create Brand
POST
/brandsLast modified: 19 days ago
This endpoint allows you to create a new brand in the store
Request
Header Params
Content-Type
string
optional
multipart/form-data
Body Params application/json
No schema defined
Example
{
"name": "ابل",
"logo": "",
"banner": "",
"description": "شركه ابل",
"metadata_title": "ابل",
"metadata_description": "شركه ابل",
"metadata_url": "apple",
"translations": {
"en": {
"name": "Apple",
"description": "Apple brand",
"metadata_title": "Apple",
"metadata_description": "Apple brand",
"metadata_url": "apple",
}
}
}
Request samples
Responses
New brand created successfully.(201)
Error Validation(422)
New brand created successfully.
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"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",
"metadata": {
"title": "Zara brand",
"description": "Brand awareness seo",
"url": "zara/item"
}
}
}
Last modified: 19 days ago