Update a brand's profile

Updates a brand's profile by the given brand id.

put
Path parameters
idstringRequired

The id of the brand.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.

Example: YOUR_AUTH_KEY
Body

This class provides the Brand Profile Dto.

sloganstring · min: 1Required

The slogan.

logoURLstring · uri | nullableOptional

The logo URL.

faviconURLstring · uri | nullableOptional

The favicon URL.

primaryColorstring | nullableOptional

The primary color. Color for primary actions, buttons, text links. 3 and 6 digit hex code values accepted.

primaryColorHoverstring | nullableOptional

The primary color hover. Color for primary actions, buttons, text links hover. 3 and 6 digit hex code values accepted.

secondaryColorstring | nullableOptional

This value is used to determine the secondary color of the brand. Color for background to accent your UI. 3 and 6 digit hex code values accepted.

tertiaryColorstring | nullableOptional

This value is used to determine the tertiary color of the brand. Color for background to accent your UI. 3 and 6 digit hex code values accepted.

Responses
200
The request was successful.
application/json
put
PUT /api/v1/brands/{id}/profile HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 180

{
  "slogan": "text",
  "logoURL": "https://example.com",
  "faviconURL": "https://example.com",
  "primaryColor": "text",
  "primaryColorHover": "text",
  "secondaryColor": "text",
  "tertiaryColor": "text"
}
{
  "success": true,
  "statusCode": 200,
  "message": "The request was successful.",
  "data": true,
  "errors": []
}

Last updated

Was this helpful?