Parameters
1 query
Query parameters
· 1productCodestringRequiredProduct code.
Example
my-productReturns all voucher templates linked to the product.
1 query
productCodestringRequiredProduct code.
my-product1 status code documented
itemsobject[]RequiredLinked voucher templates.
voucherIdnumberRequiredVoucher ID.
codestringRequiredVoucher code.
typeIdnumberRequiredVoucher type ID.
valuestringRequiredVoucher value (percentage or absolute).
activebooleanRequiredWhether the voucher is active.
usageLimitnumberOptionalMaximum number of times this voucher can be used.
validFromstringOptionalVoucher validity start date.
validTostringOptionalVoucher validity end date.
itemCountnumberRequiredTotal number of linked voucher templates.
{
"items": [
{
"voucherId": 0,
"code": "example_code",
"typeId": 0,
"value": "example_value",
"active": false,
"usageLimit": 0,
"validFrom": "example_validFrom",
"validTo": "example_validTo"
}
],
"itemCount": 0
}GET /bff/product/product-voucher-template-list
curl -X GET "https://api.bizkithub.com/bff/product/product-voucher-template-list?productCode=my-product" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.