Check Voucher
GET/prakerja/wc/coupons/checkV2
Check Voucher
Request
Query Parameters
code string
Voucher code
Responses
- 200
OK.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
succees boolean
message string
Example:
Voucher berhasil di redeem, berikut informasi kelas yang bisa anda ikuticoupon_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[]
id integer
product_id string
sesi string
order_count string
order_limit string
created_at string
updated_at string
{
"succees": true,
"message": "Voucher berhasil di redeem, berikut informasi kelas yang bisa anda ikuti",
"coupon_code": "string",
"product": "string",
"course": "string",
"course_image": "string",
"coupon": {
"minimum_amount": "string",
"maximum_amount": "string",
"usage_limit": "string",
"usage_limit_per_user": "string",
"usage_count": "string",
"date_expires": "string",
"product_ids": [
null
],
"discount_type": "string",
"amount": "string",
"code": "string",
"sesi": "string"
},
"used_by": [
null
],
"gelombang": "string",
"tanggal_mulai": true,
"tanggal_selesai": true,
"tanggal_mulai_next": true,
"tanggal_selesai_next": true,
"pilihan_sesi": [
null
],
"product_limit": [
{
"id": 0,
"product_id": "string",
"sesi": "string",
"order_count": "string",
"order_limit": "string",
"created_at": "string",
"updated_at": "string"
}
]
}