API

Skript zur Promotion aktualisieren

POST/api/crm/v2/mobile_apps_promoter_script.updatev2
operationId: mobileAppsPromoterScript.update

Ändert das Promotionsskript. Mit reset_screenshot=true wird der App-Screenshot neu erstellt.

Autorisierung

api-token + language + role

Abfrageparameter

chain_idintegererforderlich

Beispiel: 7160

Anfragetext application/json

object
main_frame_text_headerstring

Beispiel: We have a mobile application

main_frame_text_bodystring

Beispiel: Install it and get a bonus

main_frame_background_imagestringerforderlich

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

main_frame_background_colorstringerforderlich

Beispiel: 7E57C2

main_frame_background_dotsboolean

Beispiel: true

main_frame_colors_buttonsstringerforderlich

Beispiel: 0D47A1

main_frame_colors_textstringerforderlich

Beispiel: FFFFFF

main_frame_colors_iphonestring (MainFrameColorsIphone) erforderlich

Werte:space_graysilvergold

Beispiel: gold

reset_screenshotboolean

Screenshot der Anwendung neu erstellen

Beispiel: true

button_positionstring (ButtonPosition) erforderlich

Werte:top_righttop_leftbottom_rightbottom_left

Beispiel: top_right

button_orientationstring (ButtonOrientation) erforderlich

Werte:horizontallyvertically

Beispiel: horizontally

button_text_first_linestring

Beispiel: Download our

button_text_second_linestring

Beispiel: application

button_offset_xintegererforderlich

Beispiel: 24

button_offset_yintegererforderlich

Beispiel: 24

button_colors_backgroundstringerforderlich

Beispiel: 651FFF

button_colors_textstringerforderlich

Beispiel: FFFFFF

small_sizeboolean

Beispiel: true

Antworten

OK

object
statusstringerforderlich

Werte:successerror

Beispiel: success

dataobject