Parameters
JSON body
Request body
application/jsonproductCodestringRequiredProduct code to link the voucher to.
Example
my-productvoucherCodestringRequiredVoucher code to link.
Example
SUMMER2024Links a voucher template to a product. Idempotent — re-linking the same voucher is a no-op.
JSON body
productCodestringRequiredProduct code to link the voucher to.
my-productvoucherCodestringRequiredVoucher code to link.
SUMMER20241 status code documented
successbooleanRequiredWhether the link was created.
{
"success": false
}POST /bff/product/product-voucher-template-link
curl -X POST "https://api.bizkithub.com/bff/product/product-voucher-template-link" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"productCode": "my-product",
"voucherCode": "SUMMER2024"
}'All BizKitHub public API endpoints require authentication via API key.