API

Obter o script de promoção do aplicativo móvel

GET/api/crm/v2/mobile_apps_promoter_scriptv2
operationId: mobileAppsPromoterScript.default

Autorização

api-token + language + role

Parâmetros de consulta

chain_idinteger

Exemplo: 7160

Respostas

OK

object
statusstringobrigatório

Valores:successerror

Exemplo: success

dataobject
filtersobject
settingsobject
chain_idintegerobrigatório

Exemplo: 1

zonestringobrigatório

Exemplo: ru

languagestringobrigatório

Exemplo: ru

field_of_activitystringobrigatório

Valores:food_and_drinkotherflowers

url_promoterstring

Exemplo: https://fs.me/pr/init.js

main_frame_text_headerstring

Exemplo: We have a mobile application

main_frame_text_bodystring

Exemplo: Install it and get a bonus

main_frame_background_imagestring

Exemplo: https://cdn.foodsoul.test/backgrounds/promoter_script/1312e71798302424c25c538639989665.jpg

main_frame_background_colorstring

Exemplo: 7E57C2

main_frame_background_dotsboolean

Exemplo: true

main_frame_colors_buttonsstring

Exemplo: 0D47A1

main_frame_colors_textstring

Exemplo: FFFFFF

main_frame_colors_iphonestring (MainFrameColorsIphone)

Valores:space_graysilvergold

Exemplo: gold

button_positionstring (ButtonPosition)

Valores:top_righttop_leftbottom_rightbottom_left

Exemplo: top_right

button_orientationstring (ButtonOrientation)

Valores:horizontallyvertically

Exemplo: horizontally

button_text_first_linestring
button_text_second_linestring
button_offset_xinteger

Exemplo: 24

button_offset_yinteger

Exemplo: 24

button_colors_backgroundstring

Exemplo: 651FFF

button_colors_textstring

Exemplo: FFFFFF

small_sizeboolean

Exemplo: true