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.
🌐 Multi-Lang Support
The following are translate-able by the Header Values, such as
ACCEPT-LANGUAGE
&CONTENT-LANGUAGE
:
Variable Title name
description
OAuth Scopes
brands.read_write
Request Body
{"name"=>"ZARA", "description"=>"ZARA", "logo"=>"]Y]peq#rokFP", "banner"=>"q^]a_5TevoAj"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
ACCEPT-LANGUAGE | string | Set Language Code you want to get the response with. Retrieve a list of supported languages using the Language Endpoint. Use the iso_code value you get from the language endpoint as a value in this header. | |
CONTENT-LANGUAGE | string | (OPTIONAL) Show the used language of the response. Note that not passing a value here or passing the default value of the iso_code as ar will not appear in the response. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"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"}}