Light Mode
Update Brand
PUT
/brands/{brand}Modified at: 7 days ago
This endpoint allows you to update brand details by passing the brand
as a path parameter.
:::info[Information]
- All variables in the Update Brand body request are optional.
- Updating one variable at a time is possible, but at least one of the variables must be in the body request payload. Otherwise, an error will be shown if you send an empty body request payload.
:::
Request
Path Params
brand
integer
required
The Brand ID. List of Brand IDs can be found here.
Body Params application/json
No schema defined
Example
{
"name": "Zara",
"logo": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"metadata_title": "Zara brand",
"metadata_description": "Brand awareness seo",
"metadata_url": "zara/item"
}
Request samples
Responses
Updated Successfully(201)
Not Found(404)
Error Validation(422)
Updated Successfully
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"success": true,
"status": 200,
"data": {
"id": 883017162,
"name": "بربري",
"description": "بربري",
"banner": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"logo": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"ar_char": "ب",
"en_char": "b",
"metadata": {
"title": "Zara brand",
"description": "Brand awareness seo",
"url": "zara/item"
}
}
}
Modified at 7 days ago