/bff/tariff/assign
Assigns a tariff to an organisation. Updates both the organisation_tariff record and the tariff_id on the organisation table. Switches reset paid-until — follow up with /tariff/set-billing to set the negotiated price + paidUntil. Allowed for internal admin OR the vendor of the target organisation.
TariffpostBffTariffAssign
Parameters
3 body
Body · 3
organisationSlugstringRequiredSlug of the target organisation.
tariffIdnumberRequiredID of the tariff to assign.
notestringAdmin note (e.g. VIP client, volume discount).
Request
POST /bff/tariff/assign
curl -X POST "https://api.bizkithub.com/bff/tariff/assign" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"organisationSlug": "my-shop",
"tariffId": 3,
"note": "VIP client"
}'Response
JSON payload
{
"success": false,
"needsCustomPrice": false
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.