For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mileage Accrual

The shopping mall operates a system that accrues mileage when a specific condition is met or a product is purchased. This encourages consumers to shop and stay active continuously, and by using the mileage system, users can receive more discount benefits and special perks. This serves as an important means of driving the shopping mall's activity and increasing sales.


Key Features

  • Promotion information inquiry and mileage accrual amount calculation

    • Retrieves the promotion information applied when a specific condition is met or a product is purchased.

    • Calculates the mileage accrual amount based on the promotion information.

  • Code simplification and minimization of module management

Process Definition

1

Accrual information inquiry

Calculates the mileage accrual amount using the order information and member information during order and claim processing.

2

Accrual information verification

This logic is a service-level validation and calculation logic. Please refer to the 'business process definition' in the feature overview: Promotion Validation

API Function List

API
Description
Server
Method
Notes

Promotion accrual information inquiry

Provides information calculating the promotion information and mileage accrual amount based on the requested order content during order and claim processing.

Order

POST

Term Definitions

Term
Description

Mileage

Refers to a point system that is accrued or can be used based on activities such as purchases or usage. It represents a kind of reward or benefit customers can earn when purchasing specific products, leaving reviews, or otherwise using services within the shopping mall.

Other Notes

  • Mileage calculation by accrual type

    • The accrued amount is calculated based on three pieces of information: basic accrual, additional accrual by customer grade, and promotion accrual. Basic accrual is calculated based on the product table's mileage-accrual-eligible attribute (milg_rsrv_psb_yn).

How mileage accrued from orders is managed

Accrual type
Accrual item
Accrual target
Accrual rate
Accrual date
Expiration
Accrual limit
Notes

Applied rate

Base amount

Order cancellation

Automatic cancellation

Order accrual

Basic accrual

N/A

Managed separately

Based on order amount

Delivery complete + 14 days

Return

Based on accrual date, 1 year Excludes shipping fee

Additional accrual by customer grade

GREEN / FAMILY / GOLD / VIP / VVIP

Managed separately

Promotion accrual

Promotion

Based on input value

Based on input value

Delivery complete + 14 days

30 days from accrual date

Basic accrual
Customer grade additional accrual
Promotion accrual

Accrual base amount

Amount after discount

Amount after discount

Amount after discount

Accrual reference amount

N/A

Managed by grade in the ET_MILG_STD_INFO table

N/A

Accrual rate management

ET_MILG_STD_INFO table

ET_MILG_STD_INFO table

Promotion information

Target products

All

All

Products meeting the applied/excluded conditions