DocsAPI ReferenceComplaint/bff/complaint/policy-update
postComplaintAdmin BFF

/bff/complaint/policy-update

Updates an existing complaint policy. Only provided fields are modified.

ComplaintpostBffComplaintPolicy-update

Parameters

8 body

8 total
Body · 8
idnumberRequired

Policy ID to update.

titlestring

Updated policy title.

bodystring

Updated policy text.

validTostring

Updated expiration date.

Format: date-time
allowStornoboolean

Updated storno permission flag.

stornoFreeHoursnumber

Updated free storno hours window.

stornoFeePercentnumber

Updated storno fee percentage.

stornoFeeDeadlineHoursnumber

Updated storno fee deadline hours.

Request

POST /bff/complaint/policy-update

post
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.

Get API Key