Voucher Product
Voucher Ongkir
Validasi Penggunaan Voucher
Proses Order
- voucher_code
- payment_method
- count(voucher_histories per akun) compare voucher_limit(penggunaan)
- count(voucher_histories semua akun) compare stok(jumlah voucher)
- start_date & end_date compare now()
- product_id
- total_item_value compare requirement: min_purchase
- province_id(region) compare apply_target_type: area
- courier_code compare apply_target_type: courier
- total_qty compare requirement: min_qty
Contoh Mapping Response untuk Preview Detail
- Voucher Product
- Voucher Ongkir