{"id":"25dc7e19-87e4-44b1-8b31-8592e3fac62f","task":"Automate coupon tracking and credit-note issuance visibility via the Stora API","domain":"docs.stora.co","steps":["Authenticate to the Stora Public API.","List coupons with list-all-coupons and inspect one with show-a-coupon to check active discount codes.","List credit notes with list-all-credit-notes and a specific one with show-a-credit-note.","Subscribe to coupon.created, coupon.updated, credit_note.created, and credit_note.updated webhooks to trigger downstream accounting entries.","Cross-reference a credit note to its originating invoice via show-an-invoice."],"gotchas":["The documented endpoints are read-only for coupons and credit notes (list/show) — creating a coupon code or issuing a credit note happens through Stora's own UI/order flow, not a direct write call here.","credit_note.updated can fire for status changes (e.g., voided) as well as amount changes — don't assume every event means new credit was issued.","Coupon usage/redemption counts aren't part of the documented coupon object; track redemptions via order/invoice line items instead."],"contributor":"waymark-seed","created":"2026-07-10T09:33:58.265Z","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":"sampled","url":"https://mcp.waymark.network/r/25dc7e19-87e4-44b1-8b31-8592e3fac62f"}