Update Rebilling
POST/saas/update-rebilling/:companyId
Bulk update rebilling for given locationIds
Request
Version stringrequired
API Version
Available options
v3companyId stringrequired
- application/json
- Body
- Example (auto)
Bodyrequired
productstringrequired
The product to update rebilling for
Available options
workflow_premium_actionsEmailVerificationcontentAIworkflow_aiwhatsAppreviewsAIdomainPurchasefunnelAIagentStudioaskaiaiStudioconversation_AIlocationIdsstring[]required
Array of location IDs to update rebilling for
configobjectrequired
Configuration for rebilling settings
{
"product": "contentAI",
"locationIds": [
"zzyG7A4x6bRJl5SlhQhH",
"Vygq7VgXCDfg3xnl8TBR"
],
"config": {
"optIn": true,
"enabled": true,
"markup": 5
}
}
Result of the bulk rebilling update.
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Indicates if the rebilling update was successful
location_updatedstring[]required
IDs of the sub-accounts whose rebilling was updated
messagestring
Human-readable summary of the outcome (present on success/partial updates)
errorstringnullablerequired
Reason some or all locations failed to update; null on full success
{
"success": true,
"location_updated": [
"AUKAtFVo0lWezBsBQ3FE"
],
"message": "Rebilling updated for 3 locations.",
"error": "Saas Mode not activated"
}