cURL
curl --request PUT \ --url https://blessed-toad-definitely.ngrok-free.app/api/voucher/{id} \ --header 'Content-Type: application/json' \ --data ' { "namaVoucher": "Voucher Hari Ini", "diskonRate": 10, "tanggalExpired": "2021-12-31" } '
Documentation IndexFetch the complete documentation index at: https://v1-learn.neoartd.my.id/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://v1-learn.neoartd.my.id/llms.txt
Use this file to discover all available pages before exploring further.
Unique identifier for the voucher
1
Name of the voucher
"Voucher Hari Ini"
Discount rate of the voucher
10
Expired date of the voucher
"2021-12-31"
Voucher updated successfully