Endpoint ini digunakan untuk download list voucher yang sudah dibuat. Isi data download = Kode Voucher, Deskripsi, Jenis Voucher, Periode, Status, Penggunaan
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
Responses
🟢200Success
application/json
Body
🟠404Record not found
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET '/store/vouchers/download?status=1&start_date=2025-06-01&end_date=2025-06-02&category=code&keyword=VOCH291&type=product&sort_by=code&sort_dir=desc' \
--header'Authorization: Bearer <token>'