/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 krävs
| Fält | Typ |
|---|---|
customCss
|
string · nullable |
Svar
PatchChannelBrandingCssPatchBrandingCssResponse
| Fält | Typ | Beskrivning |
|---|---|---|
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.
Standardfel:
400
401
404
Felhantering
Exempel
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
}
Bas-URL https://api.erp.fluit.cloud/ecom. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.