It's possible to track affiliate-driven transactions with coupons provided that your eCommerce platform has the capacity to generate coupon codes.
The technical documentation for implementing this feature can be found here.
Coupon tracking with Zapier
We have also prepared a nifty video explaining how coupon tracking can be enabled using Zapier.
This can be useful if your eCommerce/SaaS platform already has a presence on Zapier.