Skip to main content

Check Voucher

GET 

/prakerja/wc/coupons/checkV2

Check Voucher

Request

Query Parameters

    code string

    Voucher code

Responses

OK.

Schema

    succees boolean
    message string
    Example: Voucher berhasil di redeem, berikut informasi kelas yang bisa anda ikuti
    coupon_code string
    product string
    course string
    course_image string

    coupon

    object

    minimum_amount string
    maximum_amount string
    usage_limit string
    usage_limit_per_user string
    usage_count string
    date_expires string
    product_ids undefined[]
    discount_type string
    amount string
    code string
    sesi string
    used_by undefined[]
    gelombang string
    tanggal_mulai boolean
    tanggal_selesai boolean
    tanggal_mulai_next boolean
    tanggal_selesai_next boolean
    pilihan_sesi undefined[]

    product_limit

    object[]

  • Array [

  • id integer
    product_id string
    sesi string
    order_count string
    order_limit string
    created_at string
    updated_at string
  • ]