Member Point Rule

We will release this API soon!

id

String

User Credit Rule ID
會員購物金條件 ID

5e8445bcca53240021eab706

rule_type

String

Rule Type
條件類型

  • pos_apply_credit: POS 購物金折抵
    auto_reward: 滿額送購物金
    apply_partial_credit: 允許顧客自行設定折抵金額
    welcome_credit: 新加入會員購物金
    birthday_credit: 生日購物金
    max_amount_per_order: 購物金折抵上限

accumulated_type

String

Accumulated type
購物金類型

  • credit: 固定金額
    percentage: 百分比

is_accumulated

Boolean

Auto accumulated
自動累計

status

String

Rule status
條件狀態

  • active: 上架
    inactive: 下架
    removed: 刪除

active

credit_value

Int

Credit Value
購物金

credit_threshold

Int

Credit threshold
生效條件

credit_valid_period

Int

Credit Valid Period
購物金有效時間

apply_threshold

Int

Apply threshold
生效條件

{
    "_id": "5e9d5313e38809715f74f6eb",
    "created_at": "2020-04-20T07:45:24.005Z",
    "updated_at": "2020-07-17T09:12:19.420Z",
    "status": "active",
    "rule_type": "auto_reward",
    "credit_value": 10,
    "credit_valid_period": -1,
    "credit_threshold": 500,
    "is_accumulated": false,
    "accumulated_type": "credit",
    "apply_threshold": null,
    "membership_tier_id": null
}