Modo Claro
Create Brand
POST
/brandsLast modified: 25 days ago
This endpoint allows you to create a new brand in the store
Request
Parâmetros Header
Content-Type
string
opcional
multipart/form-data
Parâmetros Bodyapplication/json
No schema defined
Exemplo
{
"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
Respostas
New brand created successfully.(201)
Error Validation(422)
New brand created successfully.
HTTP Code: 201
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"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: 25 days ago