Add applied coupon to subscriptions list export
🔍 Problem Statement
As an operations or reporting user, I can see the applied coupon code in the subscriptions UI list, but the same information is missing from the subscriptions export, which results in incomplete reporting and manual reconciliation work.
💡 User Story
As an operations or finance user, I want the applied coupon code to be included in the subscriptions export, so that I can analyze discounts, promotions, and subscription data accurately without relying on the UI manually.
🎯 Definition of Done (DoD)
A feature is done when:
✔️ Given a subscription has an applied coupon or discount code, when the subscriptions export is generated, then the export includes the applied coupon code value in a dedicated column.
✔️ Given a subscription does not have an applied coupon code, when the export is generated, then the coupon code column remains empty/null for that record.
✔️ Given the coupon code is visible in the subscriptions UI list, when exporting the same dataset, then the export data matches the UI data for coupon-related fields.
new column added to end of export
✔️ This change will impact:
UI / Export Service / Reporting
Specifically:
Subscriptions export generation logic
Export CSV/XLSX column mappings
Subscription data serializer/API used for exports
✔️ The export will include:
A new column such as
applied_coupon_codeCoupon value exactly as stored/displayed in the subscriptions UI
Log in to comment and vote
No comments yet
Be the first to share your thoughts.