> For the complete documentation index, see [llms.txt](https://nexas-ridewiz.gitbook.io/myagents.plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nexas-ridewiz.gitbook.io/myagents.plus/product-development/development/saas-experience-archive/rewards+/staff/points/enter-code-points.md).

# Enter Code (points)

<figure><img src="/files/euOv5VLeXoo8yyc7kD8q" alt=""><figcaption></figcaption></figure>

Generating a code you can give to a customer is suitable for online and offline businesses. A staff member generates a unique code that can be used once to earn a certain amount of points.

## How does it work <a href="#page_how-does-it-work" id="page_how-does-it-work"></a>

To test this, you can use the Restaurant Demo.

### Staff member generates code <a href="#page_staff-member-generates-code" id="page_staff-member-generates-code"></a>

1. The staff member [logs in to the staff area](/myagents.plus/product-development/development/saas-experience-archive/rewards+/staff.md). On the demo you can also log in with the credentials **<staff1@example.com>** / **welcome123**.
2. Navigate to **"Points"** and click the the **"Enter Code"** button.
3. A modal opens where a code can be generated. There is also a tab **"Active Codes"** to see all codes that have not yet been used.

### Customer enters code <a href="#page_customer-enters-code" id="page_customer-enters-code"></a>

1. The customer [creates an account](/myagents.plus/product-development/development/saas-experience-archive/rewards+/customer.md). This can be done by clicking on the **"My Points"** menu item and then the **"Or create a new account"** button. On the demo you can also log in with the credentials **<customer@example.com>** / **welcome123**.
2. The customer clicks the **"Earn Points"** menu item and then the **"Enter Code"** button. A modal opens where the code received by the merchant can be entered.


---

# 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://nexas-ridewiz.gitbook.io/myagents.plus/product-development/development/saas-experience-archive/rewards+/staff/points/enter-code-points.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.
