DocsAPI ReferenceProduct/bff/product/product-voucher-template-link
postProductAdmin BFF

/bff/product/product-voucher-template-link

Links a voucher template to a product. Idempotent — re-linking the same voucher is a no-op.

ProductpostBffProductProduct-voucher-template-link

Parameters

2 body

2 total
Body · 2
productCodestringRequired

Product code to link the voucher to.

voucherCodestringRequired

Voucher code to link.

Request

POST /bff/product/product-voucher-template-link

post
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"
}'

Response

JSON payload

{
  "success": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key