promo-offers

Update Promo Offer Template Endpoint

Changed on

Обновление шаблона промо-предложения.

patch/promo-offers/templates/{template_id}

Request

Path parameters

template_idinteger required

Request body

namestring nullable
message_textstring nullable
button_textstring nullable
valid_hoursinteger nullable
discount_percentinteger nullable
bonus_amount_kopeksinteger nullable
active_discount_hoursinteger nullable
test_duration_hoursinteger nullable
test_squad_uuidsstring[] nullable
is_activeboolean nullable

Response

Successful Response

idinteger required
namestring required
offer_typestring required
message_textstring required
button_textstring required
valid_hoursinteger required
discount_percentinteger required
bonus_amount_kopeksinteger required
active_discount_hoursinteger nullable
test_duration_hoursinteger nullable
test_squad_uuidsstring[] required
is_activeboolean required
created_byinteger nullable
created_atstring date-time required
updated_atstring date-time required

Changes