/bff/complaint/policy-update
Updates an existing complaint policy. Only provided fields are modified.
ComplaintpostBffComplaintPolicy-update
Parameters
8 body
Body · 8
idnumberRequiredPolicy ID to update.
titlestringUpdated policy title.
bodystringUpdated policy text.
validTostringUpdated expiration date.
Format:
date-timeallowStornobooleanUpdated storno permission flag.
stornoFreeHoursnumberUpdated free storno hours window.
stornoFeePercentnumberUpdated storno fee percentage.
stornoFeeDeadlineHoursnumberUpdated storno fee deadline hours.
Request
POST /bff/complaint/policy-update
curl -X POST "https://api.bizkithub.com/bff/complaint/policy-update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"id": 1,
"title": "Standard return policy",
"body": "Items may be returned within 14 days of delivery.",
"validTo": "2026-12-31T23:59:59.000Z",
"allowStorno": false,
"stornoFreeHours": 48,
"stornoFeePercent": 50,
"stornoFeeDeadlineHours": 24
}'Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.