Skip to main content

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

Status: Available8 comments

Log in to comment and vote

Comments8

  • Rana Haleem

    Team•

    Dec 2, 2025

    This is now live — please check our changelog for more updates:

    https://docs.pelcro.com/changelog#/

  • Michael Ghattas

    Team•

    Nov 4, 2025

    Can we make the coupon code “not” unique? Is there a reason why it is unique?

    • Chris Gogos

      •

      Nov 4, 2025

      In our use case we need to extend the coupon expiry date which has been marketed, so the code needs to be the same to match the marketing.

      • Michael Ghattas

        Team•

        Nov 6, 2025

        For further clarity, you want to be able to modify the expiry date of the coupon?

        • Chris Gogos

          •

          Nov 6, 2025

          Yes we would.

          • Michael Ghattas

            Team•

            Nov 6, 2025

            Sounds good. This is already scoped. We will keep you posted as we work on it.

  • Michael Ghattas

    Team•

    Oct 28, 2025

    Feedback:

    1. Ability to change expiration date and max redemption count.

    2. Currently, expiration time is fixed to UTC and lacks a time field—this makes management difficult.

    3. Add support to set both time and date for coupon expiry.

  • Rana Haleem

    Team•

    Sep 23, 2025

    Thanks so much for sharing this feedback! 🙏
    You’re right — at the moment, fields like maximum redemptions and expiration date can’t be edited after a coupon is created. I’ve flagged this request to our team so they can review the possibility of making these fields editable in the future.