API

Tanıtım komut dosyasını güncelle

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

Tanıtım komut dosyasını değiştirir. reset_screenshot=true ile uygulamanın ekran görüntüsü yeniden oluşturulur.

Yetkilendirme

api-token + language + role

Sorgu parametreleri

chain_idintegerzorunlu

Örnek: 7160

İstek gövdesi application/json

object
main_frame_text_headerstring

Örnek: We have a mobile application

main_frame_text_bodystring

Örnek: Install it and get a bonus

main_frame_background_imagestringzorunlu

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

main_frame_background_colorstringzorunlu

Örnek: 7E57C2

main_frame_background_dotsboolean

Örnek: true

main_frame_colors_buttonsstringzorunlu

Örnek: 0D47A1

main_frame_colors_textstringzorunlu

Örnek: FFFFFF

main_frame_colors_iphonestring (MainFrameColorsIphone) zorunlu

Değerler:space_graysilvergold

Örnek: gold

reset_screenshotboolean

Uygulamanın ekran görüntüsünü yeniden oluştur

Örnek: true

button_positionstring (ButtonPosition) zorunlu

Değerler:top_righttop_leftbottom_rightbottom_left

Örnek: top_right

button_orientationstring (ButtonOrientation) zorunlu

Değerler:horizontallyvertically

Örnek: horizontally

button_text_first_linestring

Örnek: Download our

button_text_second_linestring

Örnek: application

button_offset_xintegerzorunlu

Örnek: 24

button_offset_yintegerzorunlu

Örnek: 24

button_colors_backgroundstringzorunlu

Örnek: 651FFF

button_colors_textstringzorunlu

Örnek: FFFFFF

small_sizeboolean

Örnek: true

Yanıtlar

OK

object
statusstringzorunlu

Değerler:successerror

Örnek: success

dataobject