API

Ubah skrip promosi

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

Mengubah skrip promosi. Dengan reset_screenshot=true, screenshot aplikasi akan dibuat ulang.

Otorisasi

api-token + language + role

Parameter permintaan

chain_idintegerwajib

Contoh: 7160

Isi permintaan application/json

object
main_frame_text_headerstring

Contoh: We have a mobile application

main_frame_text_bodystring

Contoh: Install it and get a bonus

main_frame_background_imagestringwajib

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

main_frame_background_colorstringwajib

Contoh: 7E57C2

main_frame_background_dotsboolean

Contoh: true

main_frame_colors_buttonsstringwajib

Contoh: 0D47A1

main_frame_colors_textstringwajib

Contoh: FFFFFF

main_frame_colors_iphonestring (MainFrameColorsIphone) wajib

Nilai:space_graysilvergold

Contoh: gold

reset_screenshotboolean

Buat ulang screenshot aplikasi

Contoh: true

button_positionstring (ButtonPosition) wajib

Nilai:top_righttop_leftbottom_rightbottom_left

Contoh: top_right

button_orientationstring (ButtonOrientation) wajib

Nilai:horizontallyvertically

Contoh: horizontally

button_text_first_linestring

Contoh: Download our

button_text_second_linestring

Contoh: application

button_offset_xintegerwajib

Contoh: 24

button_offset_yintegerwajib

Contoh: 24

button_colors_backgroundstringwajib

Contoh: 651FFF

button_colors_textstringwajib

Contoh: FFFFFF

small_sizeboolean

Contoh: true

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject