DocsAPI ReferenceContact Credit/bff/contact-credit/reason/update
postContact CreditAdmin BFF

/bff/contact-credit/reason/update

Patches an existing credit reason. Only provided fields are changed.

Contact CreditpostBffContact-creditReasonUpdate

Parameters

7 body

7 total
Body · 7
codestringRequired

Code identifying the reason to update.

namestring

New display name.

descriptionstring

New description.

defaultAmountnumber

New default credit amount.

defaultAmountMoneynumber | null
positionnumber

New ordering position.

activeboolean

Whether the reason is active.

Request

POST /bff/contact-credit/reason/update

post
curl -X POST "https://api.bizkithub.com/bff/contact-credit/reason/update" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "code": "example_code",
  "name": "example_name",
  "description": "example_description",
  "defaultAmount": 0,
  "position": 0,
  "active": false
}'

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