Authorization: Bearer ********************{
"Voucher": [
{
"id": "2025052201",
"customerPkId": null,
"voucherGroupId": "001",
"percent": 0,
"amount": 5000,
"password": 1234,
"expireDate": "2025/12/31",
"usageCount": 3,
"hasBalance": "Y",
"maxUsePercent": 50
}
]
}curl --location --request GET 'https://retailapiv2.smartlogic.mn/api/sale/saveVoucher' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"Voucher": [
{
"id": "2025052201",
"customerPkId": null,
"voucherGroupId": "001",
"percent": 0,
"amount": 5000,
"password": 1234,
"expireDate": "2025/12/31",
"usageCount": 3,
"hasBalance": "Y",
"maxUsePercent": 50
}
]
}'{
"Success": true,
"Message": null,
"ErrorCode": null,
"ExceptionType": null,
"Data": {
"Table": [
{
"PkId": 2506161108040175000,
"Id": "2025061601"
},
{
"PkId": 2506161108040315000,
"Id": "2025061602"
}
]
}
}