> For the complete documentation index, see [llms.txt](https://docs.gethoneycart.com/live-examples/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gethoneycart.com/live-examples/promos/discount-codes.md).

# Discount Codes

Create discount codes clients can use when placing an order:

* can be an amount or percentage-based discount
* control **how many times** the Discount can be used by the same client
* make a Discount valid **only for a specific client**&#x20;
* require a **Min. Order Amount** for the Discount to be valid
* make Discount valid only if the Event Date falls on a certain date (i.e `easter2022` must be used during week of Easter) or day of week (i.e `tacotuesday` must be used on a Tues)

{% hint style="success" %}
**Live Demo:** place a test order using **`10PercentOff`** to see how [discount codes](https://hc-live-examples.gethoneycart.com/) work.&#x20;
{% endhint %}

![](/files/Zf70er5RH9PUebDojE6i)


---

# 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:

```
GET https://docs.gethoneycart.com/live-examples/promos/discount-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
