API

Update multilink settings

POST/api/crm/v2/multilinks_settings.updatev2
operationId: multilinksSettings.update

Updates multilink settings. Colors are validated as HEX. When auto_change is enabled, the theme_day / theme_night pair is used instead of theme_default. The logo is uploaded in PNG format.

Authorization

api-token + language + role

Query parameters

chain_idintegerrequired

Example: 7160

Request body multipart/form-data

object
loaderstring (ThemeLoader) required

Loader animation: dots, circles, meat, pizza, pizza_knife, rolls, chamomile, foodsoul, burger

Example: dots

auto_changebooleanrequired

Example: false

gradientbooleanrequired

Example: true

logostring · binary
multilink_primary_colorstringrequired

Example: F06292

multilink_accent_colorstringrequired

Example: 000000

theme_defaultstringrequired

Theme: light, bright, blue, dark

Example: blue

theme_daystring (ThemeDay)

Theme: light, bright

Example: light

theme_nightstring (ThemeNight)

Theme: blue, dark

Example: blue

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject
logostring

Example: https://cdn.foodsoul.test/zones/ru/chains/7160/images/themes/multikinks/1f09c104b7adfc125e99b66354159789.png?v1721638974