> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api-guide/api-guides-en/store-front-api/my-page/mileage.md).

# Mileage

Provides features for customers to view and use their mileage.

Using the following APIs, customers can check their accumulated mileage and use it during the purchase journey to receive discount benefits.

Customers can also view and manage their mileage usage history.

***

## Viewing Mileage <a href="#plus" id="plus"></a>

Clicking Mileage in the My Page full menu takes you to the Mileage page.

Mileage provides summary information on remaining mileage along with a detailed inquiry API.

<div align="center"><img src="https://tech.x2bee.com/download/attachments/266111035/FO%20API%20%ED%99%9C%EC%9A%A9%ED%95%98%EA%B8%B0-%EB%A7%88%EC%9D%BC%EB%A6%AC%EC%A7%80.drawio.png" alt=""></div>

### 1. View Mileage Summary <a href="#id-1" id="id-1"></a>

* **View Held Mileage Summary (**[🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%EB%A7%88%EC%9D%BC%EB%A6%AC%EC%A7%80\&path=getMlgBalAmtInfo))\
  Retrieves a summary of mileage information.

```
GET /v1/mileage/mlgSum 
```

### 2. View Mileage Usage/Accumulation History <a href="#id-2" id="id-2"></a>

You can view mileage usage history and accumulation history for a specified inquiry period, or by specifying dates.

* **View Mileage Usage/Accumulation List (**[🔗View API >](https://api.x2bee.com/content?msa=member\&depth=%EB%A7%88%EC%9D%BC%EB%A6%AC%EC%A7%80\&path=getMlgDtlList))\
  When viewing mileage, this is called separately for usage and accumulation, and the searchable period can be up to a maximum of 3 months from the search start date.

```
GET /v1/mileage/mlgDtlList 
```
