add_coupon
shallowio.github.CssEoCAO/bot-do-afiliado · Verify this server
Cadastra (ou atualiza) cupons no bot. Para UM cupom, informe "code" (o código) OU "url" (cupom resgatável no link, sem código); para VÁRIOS, mande a lista em "coupons" (até 50 por chamada, cada item com os mesmos campos) numa chamada só, em vez de uma chamada por cupom. Opcionalmente loja (site/site_id), descrição, validade, início de vigência e os campos DETALHADOS do desconto (discount_type/discount_value/min_purchase/max_discount/is_cashback). O upsert deduplica por loja+code (ou loja+url quando sem código): não precisa de list_coupons antes para evitar duplicata na mesma loja. Com convert_url:true, a "url" vira link de afiliado antes de salvar (no lote, cada link distinto é convertido uma vez); se a conversão falhar, o cupom não é salvo. No lote, a resposta traz "results" com o que entrou e o que falhou por item (index, code, ok, error). Requer o módulo de Cupons ativo no bot.
1 trials · measured 10 days ago
add_coupon scores 100.0/100 on Vouch's measured behaviour index, from 1 real invocation trials against io.github.CssEoCAO/bot-do-afiliado, measured 12 Nov 2026 under methodology v0.2.0. Every measured component scored 100.
Component breakdown
| Component | Weight | Value |
|---|---|---|
| Reliability | 35% | not applicable |
| Schema integrity | 25% | 100.0 |
| Failure behaviour | 15% | not applicable |
| Latency | 15% | not applicable |
| Concurrency | 10% | not applicable |
Tool details
- Transport
- remote
- Credential class
- gated
- Input schema
- not declared
- Output schema
- not declared
- Side-effect classification
- unclassified
Score history
| Day | Score | Tier | Methodology |
|---|---|---|---|
| 2026-11-12 | 100.0 | shallow | v0.2.0 |
Probe evidence
| Probe | Outcomes |
|---|---|
| schema_integrity | pass: 1 |
Raw request/response logs are not archived yet — the outcome counts above are drawn directly from every recorded trial.
Embed this score
Available for every tool, scored or not — not a verification perk. Always links back to this page.
[](https://vouch.tools/tools/334303e7-017a-40e0-b4db-ccac4ce4bc9a)