Den Promotion-Skript für die mobile App abrufen
GET/api/crm/v2/mobile_apps_promoter_scriptv2
operationId: mobileAppsPromoterScript.default
Autorisierung
api-token + language + role
Abfrageparameter
chain_idinteger
Beispiel: 7160
Antworten
object
statusstringerforderlich
Werte:successerror
Beispiel: success
dataobject
settingsobject
chain_idintegererforderlich
Beispiel: 1
zonestringerforderlich
Beispiel: ru
languagestringerforderlich
Beispiel: ru
field_of_activitystringerforderlich
Werte:food_and_drinkotherflowers
url_promoterstring
Beispiel: https://fs.me/pr/init.js
main_frame_text_headerstring
Beispiel: We have a mobile application
main_frame_text_bodystring
Beispiel: Install it and get a bonus
main_frame_background_imagestring
Beispiel: https://cdn.foodsoul.test/backgrounds/promoter_script/1312e71798302424c25c538639989665.jpg
main_frame_background_colorstring
Beispiel: 7E57C2
main_frame_background_dotsboolean
Beispiel: true
main_frame_colors_buttonsstring
Beispiel: 0D47A1
main_frame_colors_textstring
Beispiel: FFFFFF
main_frame_colors_iphonestring (MainFrameColorsIphone)
Werte:space_graysilvergold
Beispiel: gold
button_positionstring (ButtonPosition)
Werte:top_righttop_leftbottom_rightbottom_left
Beispiel: top_right
button_orientationstring (ButtonOrientation)
Werte:horizontallyvertically
Beispiel: horizontally
button_text_first_linestring
button_text_second_linestring
button_offset_xinteger
Beispiel: 24
button_offset_yinteger
Beispiel: 24
button_colors_backgroundstring
Beispiel: 651FFF
button_colors_textstring
Beispiel: FFFFFF
small_sizeboolean
Beispiel: true