PointReward

Menampilkan point reward

post
Body
user_idstringRequiredExample: +6285228990120
outlet_idstringRequiredExample: OTL-001
Responses
chevron-right
200

Data point reward berhasil ditampilkan

application/json
post
/pointreward/show

Menambahkan point reward

post
Body
user_idstringRequiredExample: +6285228990120
outlet_idstringRequiredExample: OTL-001
namestringRequiredExample: Loyalty Program 1
loyalty_typestringOptionalExample: spending
total_spendnumberOptionalExample: 50000
buy_productsstring[]OptionalExample: ["PRD-001","PRD-002"]
buy_categorystringOptionalExample: CAT-001
points_gainintegerOptionalExample: 10
new_member_pointsintegerOptionalExample: 5
reward_liststring[]OptionalExample: ["Voucher 10%","Produk Gratis"]
reward_categorystringOptionalExample: Voucher
start_dtmstring · date-timeOptionalExample: 2025-06-01T00:00:00Z
end_dtmstring · date-timeOptionalExample: 2025-12-31T23:59:59Z
is_activestringOptionalExample: Yes
send_validation_codestringOptionalExample: No
Responses
chevron-right
200

Berhasil menambahkan point reward

application/json
post
/pointreward/add

Set point reward

post
Body
user_idstringRequiredExample: +6285228990120
outlet_idstringRequiredExample: OTL-001
reward_idstringRequiredExample: RWD-01
is_activestringRequiredExample: Yes
Responses
chevron-right
200

Point reward berhasil diaktifkan/nonaktifkan

application/json
post
/pointreward/set

Update point reward

post
Body
user_idstringRequiredExample: +6285228990120
outlet_idstringRequiredExample: OTL-001
reward_idstringRequiredExample: RWD-01
namestringRequiredExample: Loyalty 50rb
loyalty_typestringOptionalExample: Spend
total_spendintegerOptionalExample: 50000
buy_productsstringOptionalExample: P-001,P-002
buy_categorystringOptionalExample: KAT-001
points_gainintegerOptionalExample: 5
new_member_pointsintegerOptionalExample: 10
reward_liststringOptionalExample: voucher,gratis produk
reward_categorystringOptionalExample: Umum
start_dtmstring · date-timeOptionalExample: 2025-06-01T00:00:00Z
end_dtmstring · date-timeOptionalExample: 2025-12-31T23:59:59Z
is_activestringOptionalExample: Yes
send_validation_codestringOptionalExample: No
Responses
chevron-right
200

Point reward berhasil diperbarui

application/json
post
/pointreward/update

Hapus point reward

post
Body
user_idstringRequiredExample: +6285228990120
outlet_idstringRequiredExample: OTL-001
reward_idstringRequiredExample: RWD-01
Responses
chevron-right
200

Point reward berhasil dihapus

application/json
post
/pointreward/del

Last updated

Was this helpful?