Mileage
A benefit point system accumulated when purchasing or using services at the shopping mall. It accrues at a set rate each time a customer makes a purchase, and can later be redeemed for special benefits or used toward future purchases. Mileage is used to provide customers with additional benefits, increasing loyalty and enhancing the shopping experience.
Key Features
Purchase Products with Mileage
Products purchased at the X2BEE shopping mall can be paid for using held mileage.
Mileage Accrual and Validity Period
Mileage can be accrued through various methods, and each accrual has a validity period.
Base accrual, product reviews, additional accrual by member grade: valid for 1 year
Promotion, customer compensation, refund, event accrual: valid for 30 days
Mileage Usage Priority
When using mileage, entries closest to their expiration date are used first, followed by entries with the smallest remaining balance.
Process Definition

API Function List
Get Available Mileage
Before requesting mileage usage processing, the requesting module can use the Get Available Mileage API to check the member's usable remaining mileage.
Member
GET
Get Mileage Balance Summary
Summarizes all held mileage, providing an at-a-glance view of the member's mileage status.
Member
GET
Process Mileage Usage/Accrual
Allows members to purchase and receive discounts on products using mileage, and provides mileage accrual when certain criteria are met.
Member
POST
Get Mileage Usage/Accrual List
Retrieves the usage or accrual history of held mileage. The lookup range can span up to 3 months at a time.
Member
GET
Definition of Terms
Mileage
Points that can be used instead of cash when purchasing items at the X2BEE shopping mall. Mileage can be accrued through various means, including product purchases, product review submissions, and event participation, and the validity period of the mileage differs depending on the accrual method.
Other Notes
Process Mileage Usage/Accrual
Mileage usage and accrual processing is a module-only API that cannot be used directly from FO.
Mileage Accrual
When mileage is accrued, the expiration period is looked up in the mileage reference information (ET_MILG_STD_INFO) table based on the accrual classification code (CM016) and accrual target code (CM017), and the mileage validity period is set accordingly.
When mileage is accrued, a history record is added to the ET_MBR_AST_MGR_HIST table and accumulated in the TOT_AMT column of the ME_MBR_AST_SUM table.
When mileage is accrued, the asset management number and asset management detail number are managed using unique values identifiable by each module's process.
Mileage accrued from product reviews is capped at 3,000 mileage per month and 36,000 mileage per year.
Mileage Usage
Mileage can be used as long as the total usable accrued mileage is greater than the amount to be used.
When mileage is used, a history record is added to the ET_MBR_AST_MGR_HIST table and accumulated in the USE_AMT column of the ME_MBR_AST_SUM table.
When mileage is used, the BAL_AMT value of the accrued mileage in the ET_MBR_AST_MGR_HIST table is updated by deducting the used amount, and a usage history record is inserted.
Mileage Usage Priority
When using mileage, there is a priority order among accrued mileage entries.
Mileage closest to its expiration date is used first > mileage with the smallest remaining amount is used next.
Unusable Mileage
The following mileage cannot be used:
Mileage in the ET_MBR_AST_MGR_HIST table where the BAL_AMT amount is 0
Mileage in the same table where APLY_YN is N
Mileage whose validity period has expired