Obtenir le script de promotion de l'application mobile
GET/api/crm/v2/mobile_apps_promoter_scriptv2
operationId: mobileAppsPromoterScript.default
Autorisation
api-token + language + role
Paramètres de requête
chain_idinteger
Exemple: 7160
Réponses
object
statusstringobligatoire
Valeurs:successerror
Exemple: success
dataobject
settingsobject
chain_idintegerobligatoire
Exemple: 1
zonestringobligatoire
Exemple: ru
languagestringobligatoire
Exemple: ru
field_of_activitystringobligatoire
Valeurs:food_and_drinkotherflowers
url_promoterstring
Exemple: https://fs.me/pr/init.js
main_frame_text_headerstring
Exemple: We have a mobile application
main_frame_text_bodystring
Exemple: Install it and get a bonus
main_frame_background_imagestring
Exemple: https://cdn.foodsoul.test/backgrounds/promoter_script/1312e71798302424c25c538639989665.jpg
main_frame_background_colorstring
Exemple: 7E57C2
main_frame_background_dotsboolean
Exemple: true
main_frame_colors_buttonsstring
Exemple: 0D47A1
main_frame_colors_textstring
Exemple: FFFFFF
main_frame_colors_iphonestring (MainFrameColorsIphone)
Valeurs:space_graysilvergold
Exemple: gold
button_positionstring (ButtonPosition)
Valeurs:top_righttop_leftbottom_rightbottom_left
Exemple: top_right
button_orientationstring (ButtonOrientation)
Valeurs:horizontallyvertically
Exemple: horizontally
button_text_first_linestring
button_text_second_linestring
button_offset_xinteger
Exemple: 24
button_offset_yinteger
Exemple: 24
button_colors_backgroundstring
Exemple: 651FFF
button_colors_textstring
Exemple: FFFFFF
small_sizeboolean
Exemple: true