/branding
Update channel branding
Updates the custom CSS and theme fields (colors, fonts, border radius) for the current channel's branding. Only fields present in the body are changed; null clears a field.
Show the full description
Requires the X-Channel header and a valid X-Admin-Preview token for the same tenant and channel. The CSS is sanitised before it is stored, so the value in the response is what was actually saved and may differ from what was sent.
Body required
| Field | Type |
|---|---|
accentColor
|
string · nullable |
accentHoverColor
|
string · nullable |
backgroundColor
|
string · nullable |
borderRadius
|
string · nullable |
customCss
|
string · nullable |
fontBody
|
string · nullable |
fontHeading
|
string · nullable |
footerBackgroundColor
|
string · nullable |
footerTextColor
|
string · nullable |
headerBackgroundColor
|
string · nullable |
headerTextColor
|
string · nullable |
imageBackground
|
string · nullable |
primaryColor
|
string · nullable |
primaryHoverColor
|
string · nullable |
textColor
|
string · nullable |
Responses
PatchChannelBrandingCssPatchBrandingCssResponse
| Field | Type | Description |
|---|---|---|
customCss
|
string · nullable | CSS:en som faktiskt lagrades, efter sanering. |
success
|
boolean | Sant när CSS:en sparades. |
ProblemDetails
Unsupported Media Type
| Field | Type |
|---|---|
detail
|
string · nullable |
instance
|
string · nullable |
status
|
integer · nullable |
title
|
string · nullable |
type
|
string · nullable |
-
Retry-After— Seconds to wait before retrying.
Standard errors:
400
401
404
Errors
Examples
curl -X PATCH "https://api.erp.fluit.cloud/ecom/branding" \
-H "X-Tenant-Id: $FLUIT_TENANT_ID" \
-H "X-Channel: web" \
-H "Content-Type: application/json" \
-d @body.json
{
"customCss": "string",
"success": true
}
Base URL https://api.erp.fluit.cloud/ecom. The response example is generated from the schema: the shape is right, the values are made up.