Design
Gerador de sorteios para lojas
Crie uma roleta, raspadinha ou caixa surpresa. Demonstração local ou API própria, sem serviço de entrega de prêmios.
json· Resultado JSONAbrir ferramenta
Início rápido
Chame esta ferramenta a partir do seu código em três idiomas.
cURL
curl -X POST 'https://api.elysiatools.com/pt/api/tools/store-promotion-giveaway-widget-generator' \
-H 'Content-Type: application/json' \
-d '{"config":"{\"version\":1,\"campaignId\":\"summer-boutique\",\"language\":\"en\",\"title\":\"A little surprise, just for you\",\"description\":\"COASTAL STUDIO · A summer treat\",\"buttonText\":\"Try your luck\",\"rules\":\"Demo only; no real prizes. Add your campaign rules, dates and redemption conditions before publishing.\",\"component\":\"wheel\",\"theme\":\"minimal\",\"mode\":\"local\",\"endpoint\":\"\",\"accent\":\"#214f74\",\"background\":\"#eff6fc\",\"ink\":\"#16334d\",\"radius\":24,\"font\":\"system\",\"motion\":\"standard\",\"confetti\":true,\"embedUrl\":\"\",\"prizes\":[{\"id\":\"p1\",\"label\":\"10% off\",\"probability\":40,\"message\":\"Demo offer: HELLO10 (public example)\",\"kind\":\"prize\",\"imageUrl\":\"\",\"url\":\"\"},{\"id\":\"p2\",\"label\":\"Free shipping\",\"probability\":25,\"message\":\"A little something on us.\",\"kind\":\"prize\",\"imageUrl\":\"\",\"url\":\"\"},{\"id\":\"p3\",\"label\":\"Mystery gift\",\"probability\":5,\"message\":\"Demo win, not a promise of stock.\",\"kind\":\"prize\",\"imageUrl\":\"\",\"url\":\"\"},{\"id\":\"p4\",\"label\":\"Maybe next time\",\"probability\":30,\"message\":\"Thanks for stopping by. Have a lovely day.\",\"kind\":\"none\",\"imageUrl\":\"\",\"url\":\"\"}]}"}'