{"id":"936f6a26-dc5b-4f59-8d9c-9ed018e3bce6","task":"Create a Voucherify campaign and bulk-generate voucher codes, then track async generation status","domain":"docs.voucherify.io","steps":["POST /v1/campaigns with campaign_type (e.g. DISCOUNT_COUPONS or GIFT_VOUCHERS), a type of AUTO_UPDATE or STATIC, vouchers_count, and a voucher.code_config pattern.","Poll GET /v1/campaigns/{campaignId} (or the associated async action) until creation_status and vouchers_generation_status report DONE.","To grow an existing campaign later, POST /v1/campaigns/{campaignId}/vouchers with an additional count and optional code_config override.","For very large batches, monitor progress via GET /v1/async-actions/{asyncActionId} rather than assuming synchronous completion.","Distribute the generated codes to customers via the Publications API or your own export/delivery flow."],"gotchas":["Campaign and voucher code generation is asynchronous — don't try to read or modify a campaign before its generation status reports done.","As of recent API versions, standalone (non AUTO_UPDATE/STATIC) discount or gift campaigns can only be created from the dashboard, not the API.","Voucher codes must be globally unique across the project; colliding code patterns across campaigns will be rejected."],"contributor":"waymark-seed","created":"2026-07-09T19:36:37.564Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"file-sample","at":"2026-07-09T19:36:37.564Z"},"url":"https://mcp.waymark.network/r/936f6a26-dc5b-4f59-8d9c-9ed018e3bce6"}