> For the complete documentation index, see [llms.txt](https://docs.hurrytimer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hurrytimer.com/expiry-actions/expire-a-coupon.md).

# Expire a coupon

{% hint style="warning" %}
This feature is only available when using WooCommerce
{% endhint %}

The **Expire Coupon** action allows to automatically disable a coupon when countdown timer runs out, and displays an expiration message each time a user try to apply the coupon code (see image below).

![](/files/-MVs6K-I55Caq36a0rMx)

### Setting up an Expire Coupon action

1. Create a coupon under *WooCommerce → Coupons or Marketing → Coupons* ( Note: Leave the **Coupon expiry date** field empty)
2. In your HurryTimer campaign settings, click the **Expiry** **Actions** tab,  select the **Expire Coupon** from the actions dropdown and choose the coupon code.

![](/files/-MVs8ido5vhsHXfhyITa)

&#x20;     3\. Save the changes and that's it!

### FAQs

#### Should I display the timer on checkout or cart page to make it work?

No, displaying the countdown timer on the font side of your website is optional.

#### Should I need a coupon for each user in the evergreen mode? How does it work?&#x20;

Only one coupon is needed (which you specified when adding the action). The coupon will expire only for users with expired countdown timer and simultaneously will stay valid for users with running countdown timer.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hurrytimer.com/expiry-actions/expire-a-coupon.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
