Update Brand

PUT {{baseUrl}}/brands/:brand

This endpoint allows you to update brand details by passing the brand as a path parameter.

:::caution 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. :::

brands.read_write- Brands Read & Write

Request Body

{"name"=>"<string>", "logo"=>"<binary>", "banner"=>"<binary>", "description"=>"<string>", "metadata_title"=>"<string>", "metadata_description "=>"<string>", "metadata_url"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;\u003cnumber\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;banner&quot;:&quot;\u003cstring\u003e&quot;,&quot;logo&quot;:&quot;\u003cstring\u003e&quot;,&quot;ar_char&quot;:&quot;\u003cstring\u003e&quot;,&quot;en_char&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;title&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;url&quot;:&quot;\u003cstring\u003e&quot;}}}