/branding
Update channel custom CSS
Updates the custom CSS for the current channel's branding. 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 |
|---|---|
customCss
|
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. |
-
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.