DocsAPI ReferenceProduct/bff/product/product-voucher-template-list
getProductAdmin BFF

/bff/product/product-voucher-template-list

Returns all voucher templates linked to the product.

ProductgetBffProductProduct-voucher-template-list

Parameters

1 query

1 total
Query · 1
productCodestringRequired

Product code.

Request

GET /bff/product/product-voucher-template-list

get
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"

Response

JSON payload

{
  "items": [
    {
      "voucherId": 0,
      "code": "example_code",
      "typeId": 0,
      "value": "example_value",
      "active": false,
      "usageLimit": 0,
      "validFrom": "example_validFrom",
      "validTo": "example_validTo"
    }
  ],
  "itemCount": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key