curl --request GET \
--url https://api.example.com/promo-offers/templates/{template_id} \
--header 'X-API-Key: <api-key>'{
"id": 123,
"name": "<string>",
"offer_type": "<string>",
"message_text": "<string>",
"button_text": "<string>",
"valid_hours": 123,
"discount_percent": 123,
"bonus_amount_kopeks": 123,
"test_squad_uuids": [
"<string>"
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_discount_hours": 123,
"test_duration_hours": 123,
"created_by": 123
}Получение шаблона промо-предложения по идентификатору.
curl --request GET \
--url https://api.example.com/promo-offers/templates/{template_id} \
--header 'X-API-Key: <api-key>'{
"id": 123,
"name": "<string>",
"offer_type": "<string>",
"message_text": "<string>",
"button_text": "<string>",
"valid_hours": 123,
"discount_percent": 123,
"bonus_amount_kopeks": 123,
"test_squad_uuids": [
"<string>"
],
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_discount_hours": 123,
"test_duration_hours": 123,
"created_by": 123
}Successful Response