/bff/complaint/policy-create
Creates a versioned complaint policy with cancellation/storno rules. Assign to a product or category. Multiple versions can coexist with different validity periods.
Parameters
10 body
productIdnumberApply this policy to a specific product.
categoryIdnumberApply this policy to all products in a category.
titlestringRequiredPolicy title displayed to staff and optionally to customer.
bodystringRequiredFull policy text in HTML or plain text. Defines terms and conditions for complaints.
validFromstringRequiredDate from which this policy version is effective.
date-timevalidTostringDate until which this policy is effective. Null means open-ended.
date-timeallowStornobooleanIndicator of whether free cancellation/storno is allowed under this policy.
falsestornoFreeHoursnumberNumber of hours before the reservation/event during which storno is free of charge.
stornoFeePercentnumberStorno fee as a percentage of the order price when cancelled within the fee window.
stornoFeeDeadlineHoursnumberNumber of hours before the reservation/event within which the storno fee applies. Cancellations before this window use stornoFreeHours rules.
Request
POST /bff/complaint/policy-create
curl -X POST "https://api.bizkithub.com/bff/complaint/policy-create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"productId": 42,
"categoryId": 5,
"title": "Standard return policy",
"body": "Items may be returned within 14 days of delivery.",
"validFrom": "2026-01-01T00:00:00.000Z",
"validTo": "2026-12-31T23:59:59.000Z",
"allowStorno": false,
"stornoFreeHours": 48,
"stornoFeePercent": 50,
"stornoFeeDeadlineHours": 24
}'Response
JSON payload
{
"success": true,
"id": 1
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.