> For the complete documentation index, see [llms.txt](https://developer.emporix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.emporix.io/ce/customer-use-cases/scenarios-introduction/coupons-process.md).

# Coupons and Redeeming Rewards

This is to demonstrate how our **Coupon Service** and **Reward Point Management Service** can be used.

### Coupons

Coupons can be managed within the Management Dashboard, two different types are supported: percentage and absolute.

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

{% hint style="info" %}
To learn about details how to create coupons, see the [Coupon](/ce/management-dashboard/customer-management/coupons.md) user guides.
{% endhint %}

1. Login as a customer and add products to the cart.
2. Go to the checkout and add a coupon to the cart.

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

3. Choose **Apply**, the discount is calculated based on the Subtotal without VAT.

{% hint style="warning" %}
If you delete the coupon, the discount percentage is added again to the cart value. Vat is calculated based on “Subtotal without VAT” - “Discount Amount” = Base value for VAT.
{% endhint %}

4. Go through the normal check out and submit the order. The discount is also displayed within the **My Orders** overview page.

### Reward Points

Reward points can be exchanged for coupons by customers within the B2B Showcase. To have that functionality available it is necessary to create rewards points first using the [Reward Points](https://github.com/emporix/emporix-documentation-portal/blob/master/content/user-guides/b2b-showcase/business-scenarios/ce-use-cases/broken-reference/README.md) endpoint.

In case a customer already had points, use Adding [reward points for a customer endpoint](https://github.com/emporix/emporix-documentation-portal/blob/master/content/user-guides/b2b-showcase/business-scenarios/ce-use-cases/broken-reference/README.md) to add additional points to a customer.

Points can be exchanged to coupons, which then can be used for future purchases. Redemption options are not limited and can be configured by your employees

To use it within the B2B Showcase follow the steps:

1. Login and add a product to the cart.
2. Go to the checkout and click on **Get coupons for points**.

<figure><img src="/files/6rymJAGfpZW9C9pQwn3V" alt=""><figcaption></figcaption></figure>

3. The redeem options are displayed which were configured beforehand. Select one redeem coupon and click on **Redeem selected**.

<figure><img src="/files/7SBDeopA5M7VKw44FFIz" alt=""><figcaption></figcaption></figure>

**Result**: The discount should appear in green and the points are counted down.

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

4. Proceed with the checkout and submit the order.

{% hint style="info" %}
To learn more about API used in this use case see the [Rewards and Promotions Services](/api-references/api-guides/rewards-and-promotions.md) and for user guides check the [Coupons](/ce/core-commerce/coupons.md) and [Reward Points](/ce/core-commerce/reward-points-management.md) documentation.
{% endhint %}


---

# 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://developer.emporix.io/ce/customer-use-cases/scenarios-introduction/coupons-process.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.
