DocsAPI ReferenceTariff/bff/tariff/assign
postTariffAdmin BFF

/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

3 total
Body · 3
organisationSlugstringRequired

Slug of the target organisation.

tariffIdnumberRequired

ID of the tariff to assign.

notestring

Admin note (e.g. VIP client, volume discount).

Request

POST /bff/tariff/assign

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

Get API Key