curl --request GET \
--url http://localhost:8080/cabinet/admin/promo-offers/templates{
"items": [
{
"id": 123,
"name": "<string>",
"offer_type": "<string>",
"message_text": "<string>",
"button_text": "<string>",
"valid_hours": 123,
"discount_percent": 123,
"bonus_amount_kopeks": 123,
"is_active": true,
"active_discount_hours": 123,
"test_duration_hours": 123,
"test_squad_uuids": [
"<string>"
],
"created_by": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Get list of promo offer templates.
curl --request GET \
--url http://localhost:8080/cabinet/admin/promo-offers/templates{
"items": [
{
"id": 123,
"name": "<string>",
"offer_type": "<string>",
"message_text": "<string>",
"button_text": "<string>",
"valid_hours": 123,
"discount_percent": 123,
"bonus_amount_kopeks": 123,
"is_active": true,
"active_discount_hours": 123,
"test_duration_hours": 123,
"test_squad_uuids": [
"<string>"
],
"created_by": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Successful Response
Show child attributes