> For the complete documentation index, see [llms.txt](https://help.freewebstore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.freewebstore.com/marketing/discount-codes/basic-details.md).

# Basic Details

To get to the discount code section:

1. Log into your control panel
2. Go to **Marketing > Discount Codes**

### Discount Code

Here you are asked to enter your discount code. This can be absolutely anything you want, from "kjsdfgfbsdfgu10" to "Winter20". However, you will want it to be relatively short and memorable, especially if you want it to promote your offers.

Don't worry if you cannot think of a discount code to use. You can make use of our **Generate Code** tool that will enter a code at random in the **Discount Code** field.

### Discount Description

Here you are asked to enter a description of what your discount code is for. An example of this would be "20% off over $50". It doesn't need to be too wordy, just as long as it covers what your discount code is used for.

### Discount Status

You can select whether to keep your code **Offline** (meaning customers will not be able to successfully use this code in your checkout) or **Online**, allowing your customers to use this code to knock money off their cart when they are checking out.

{% hint style="info" %}
You do not need to make your Discount Code active right away. You can set your code up for use and at a later date, come back and set the code to **Online**.
{% endhint %}

### What is the Public checkbox?

If you check this box, it means Freewebstore or any other third parties can publish your discount code to help boost sales.


---

# 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://help.freewebstore.com/marketing/discount-codes/basic-details.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.
