HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Auto Reward Credit Summary

Data Structure of Money

FieldColumn TypeDescriptionExample 1
auto_reward_rule_idStringUserCreditRule ID6260fee069030b003b646780
accumulated_typeStringAccumulated type
購物金類型
-
credit: 固定金額
percentage: 百分比
credit
is_accumulatedBooleanAuto accumulated
自動累計
false
credit_thresholdStringCredit threshold
生效條件
NT$600
credit_valueStringCredit Value
購物金
NT$66
triggeredBooleanIs triggered
是否已發送
false
calculate_credit_valueStringactually value
如果購物金類型是百分比,此值會計算出百分比的確切數值
NT$66
auto_reward_balanceStringgap of credit threshold
訂單距離回饋條件的差距
NT$-177
{
        "auto_reward_rule_id": "6260fee069030b003b646780",
        "accumulated_type": "credit",
        "is_accumulated": false,
        "credit_threshold": "NT$600",
        "credit_value": "NT$66",
        "triggered": true,
        "calculate_credit_value": "NT$66",
        "auto_reward_balance": "NT$-177"
}