Update Brand
PUT {{baseUrl}}/brands/:brand
This endpoint allows you to update brand details by providing the ID of the brand you want to update its details in the brand path parameter.
💡 NOTE: 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 Body
{"name"=>"<string>", "logo"=>"<string>", "banner"=>"<string>", "description"=>"<string>", "metadata_title"=>"<string>", "metadata_description "=>"<string>", "metadata_url"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"id":"\u003cnumber\u003e","name":"\u003cstring\u003e","description":"\u003cstring\u003e","banner":"\u003cstring\u003e","logo":"\u003cstring\u003e","ar_char":"\u003cstring\u003e","en_char":"\u003cstring\u003e","metadata":{"title":"\u003cstring\u003e","description":"\u003cstring\u003e","url":"\u003cstring\u003e"}}}