bosOnline
  1. Voucher
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh Token
    • Product
      • Inventory
      • Download Inventory
      • Download Variant
      • Update Inventory
      • Get Category
      • Get Edit Product
      • Product List
      • Edit Product Detail (Product Detail)
      • product
      • Delete Product
      • Edit Status Product (Product List)
      • Download Product (Product List)
      • Product Detail
      • Product Variant
      • Edit Status Variant (Product Detail)
      • Update Variant
      • Upload Image
      • Cek SKU
    • Form
      • Form
      • Edit Form
      • Form Detail
      • Edit Status Form (Product Detail)
      • Form list
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
    • Order
      • Checkout
        • Request Create Order
        • Request Create Order Abandoned
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
      • Edit Payment Method
      • Detail Order
      • Edit Customer Order
      • Edit Another Fee
      • Order List
      • Confirm Payment
      • Update Payment Method
      • Update Pengiriman Kurir
      • Update Status Order
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
        • Get Revenue
      • Store
      • Cek SubDomain
      • Get Region
      • Store
      • Warehouse
      • On Boarding
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Tips
      • Announcement
      • Edit Subdomain
    • API Boscod
      • Cek Ongkir
      • Wilayah
      • Tracking Order
      • Reset Password
      • Warehouse
      • Order Shipping
      • winpay service
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Data Deletion
      • Default Warehouse
      • Me
    • Staff
      • Staff
      • Delete staff
      • Create Staff
      • Edit Status Staff
    • Rekening
      • Bank List
      • Get Rekening List
      • Rekening Detail
      • Create Rekening
      • Edit Rekening
      • Delete Rekening
      • Edit Status Rekening
    • Voucher
      • List Voucher
        GET
      • Edit Voucher Status
        PATCH
      • Voucher
        POST
      • List Voucher Checkout
        GET
      • Delete Voucher
        DELETE
  • AdminBosOnline
    • Dashboard
      • Recap Store
      • Revenue
      • Order Recap
  1. Voucher

List Voucher Checkout

Testing
GET
/forms/{form-id}/vouchers
Endpoint ini digunakan untuk menampilkan list voucher yang sudah dibuat.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/forms//vouchers?payment_method=cod&qty&total_amount&courier_code&province_id'
Response Response Example
{
    "data": [
        {
            "code": "24H81H0",
            "description": "Diskon ongkir 20rb untuk pembelian semua produk",
            "type": "DISKON ONGKIR",
            "start_date": "2024-12-30",
            "end_date": "2024-12-30",
            "status": 3,
            "amount_used": 0,
            "stock": 100,
            "voucher_item": [
                {
                    "product_name": "Biji Kopi Arabica",
                    "sku": "ESB-001-01"
                },
                {
                    "product_name": "Biji Kopi Robusta",
                    "sku": "ESB-002-01"
                }
            ]
        }
    ]
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
form-id
string 
required
Query Params
payment_method
enum<string>  | enum<null> 
optional
cod, noncod
Allowed values:
codnoncod
Example:
cod
qty
integer 
optional
total_amount
integer 
optional
courier_code
string 
optional
province_id
integer 
optional

Responses

🟢200Success
application/json
Body
data
array [object {9}] 
required
voucher_code
string 
optional
description
string 
optional
voucher_type
string 
optional
periode_min
string 
optional
periode_max
string 
optional
status
enum<integer> 
optional
Allowed values:
01234
voucher_use
integer 
optional
voucher_stok
integer 
optional
voucher_item
array [object {2}] 
optional
Modified at 2025-06-23 08:35:30
Previous
Voucher
Next
Delete Voucher
Built with