API

Promoter skriptini dəyişdir

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

Təqdimat skriptini dəyişir. reset_screenshot=true olduqda tətbiqin ekran görüntüsü yenidən yaradılır.

Avtorizasiya

api-token + language + role

Sorğu parametrləri

chain_idintegermütləq

Nümunə: 7160

Sorğu gövdəsi application/json

object
main_frame_text_headerstring

Nümunə: We have a mobile application

main_frame_text_bodystring

Nümunə: Install it and get a bonus

main_frame_background_imagestringmütləq

Nümunə: https://cdn.foodsoul.test/backgrounds/promoter_script/1312e71798302424c25c538639989665.jpg

main_frame_background_colorstringmütləq

Nümunə: 7E57C2

main_frame_background_dotsboolean

Nümunə: true

main_frame_colors_buttonsstringmütləq

Nümunə: 0D47A1

main_frame_colors_textstringmütləq

Nümunə: FFFFFF

main_frame_colors_iphonestring (MainFrameColorsIphone) mütləq

Dəyərlər:space_graysilvergold

Nümunə: gold

reset_screenshotboolean

Tətbiqin ekran görüntüsünü yenidən yarat

Nümunə: true

button_positionstring (ButtonPosition) mütləq

Dəyərlər:top_righttop_leftbottom_rightbottom_left

Nümunə: top_right

button_orientationstring (ButtonOrientation) mütləq

Dəyərlər:horizontallyvertically

Nümunə: horizontally

button_text_first_linestring

Nümunə: Download our

button_text_second_linestring

Nümunə: application

button_offset_xintegermütləq

Nümunə: 24

button_offset_yintegermütləq

Nümunə: 24

button_colors_backgroundstringmütləq

Nümunə: 651FFF

button_colors_textstringmütləq

Nümunə: FFFFFF

small_sizeboolean

Nümunə: true

Cavablar

OK

object
statusstringmütləq

Dəyərlər:successerror

Nümunə: success

dataobject