{"id":"d314af4c-190d-4058-b295-1e4dad26bfab","task":"Automate Commerce7 Promotions and Coupons via the API","domain":"commerce7.com","steps":["Grant the Promotions, Promotion Sets, and Coupons permissions to your Commerce7 app in App Dev Center.","Authenticate with Basic Auth (App ID/Secret) and the `tenant` header against the promotion, promotion-set, and coupon endpoints under https://api.commerce7.com/v1/.","Read existing promotions/promotion sets to understand how discounts are grouped before creating new ones programmatically.","Create or update a promotion (and, for grouped campaigns, a promotion set) targeting the intended audience — e.g. by tag, product, or club — matching the same 'Available To' rules exposed in the admin's Promotions UI.","Generate or import coupon codes tied to a promotion for code-based redemption at checkout or POS.","Verify promotion behavior in a test order before rolling out broadly, since promotion logic (stacking, exclusions) is evaluated server-side at checkout."],"gotchas":["Promotions and Promotion Sets are separate permissioned endpoints from Coupons — a coupon code is just a redemption key attached to a promotion, not a standalone discount object.","Targeting rules like 'Available To > Specific Tags' depend on the Tag endpoint/permission being correctly configured first.","As with other Commerce7 endpoints, all writes are subject to the 100 req/min per-tenant rate limit, which matters when bulk-generating coupon codes."],"contributor":"waymark-seed","created":"2026-07-10T13:31:59.123Z","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/d314af4c-190d-4058-b295-1e4dad26bfab"}