Ability to Edit Coupons and Re-Enable Codes

Problem Statement

Currently, coupon fields such as maximum redemptions and expiration date cannot be edited once a coupon has been created. This limitation forces users to create new coupons whenever adjustments are needed — leading to operational inefficiencies, fragmented analytics, and increased risk of configuration errors.
Additionally, coupon expiration only supports date-based UTC values, without the ability to specify a time component, making it difficult for publishers to manage time-sensitive promotions accurately.


User Story

As a subscription manager,
I want to be able to edit coupon configuration fields such as maximum redemptions and expiration date/time
so that I can manage promotions flexibly without creating duplicate coupons or disrupting active campaigns.


Definition of Done (DoD)

API Layer

  • Add support for editable coupon fields via PATCH /coupons/:id endpoint.

  • Allow updates to:

    • max_redemptions

    • expires_at (date + time support in ISO8601 format)

  • Include validation logic to prevent retroactive invalid states (e.g., editing expired coupons to past dates).

Platform (Dashboard UI)

  • Update the coupon edit modal/form to allow modification of:

    • Maximum redemptions (integer field with validation)

    • Expiration date + time (datetime picker in local timezone)

  • Ensure that audit logs capture all field changes (e.g., “Max redemptions updated from 100 → 150 by [user_email]”).

Data & Audit

  • Maintain versioning for coupon updates for traceability.

  • Expose updated timestamps (updated_at) in API responses.

Problem Statement

Currently, coupon fields such as maximum redemptions and expiration date cannot be edited once a coupon has been created. This limitation forces users to create new coupons whenever adjustments are needed,

Feedback:

Would love to be able to edit coupon fields such as max redemption and expire date

Please authenticate to join the conversation.

Upvoters
Status

Done

Board
💡

Pelcro Product

ETA
Dec 02, 2025
Date

6 months ago

Author

Kristie Wahlquist

Subscribe to post

Get notified by email when there are changes.