Voucher Product

Voucher Ongkir

Validasi Penggunaan Voucher

Proses Order

  1. voucher_code
  2. payment_method
  3. count(voucher_histories per akun) compare voucher_limit(penggunaan)
  4. count(voucher_histories semua akun) compare stok(jumlah voucher)
  5. start_date & end_date compare now()
  6. product_id
  7. total_item_value compare requirement: min_purchase
  8. province_id(region) compare apply_target_type: area
  9. courier_code compare apply_target_type: courier
  10. total_qty compare requirement: min_qty

Contoh Mapping Response untuk Preview Detail