Skip to main content
SaaSVersion: v3

Update Rebilling

POST/saas/update-rebilling/{companyId}

Bulk update rebilling for given locationIds

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:saas/company.write
Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

companyIdstringrequired

Body

productstringrequired

The product to update rebilling for

Available optionsworkflow_premium_actionsEmailVerificationcontentAIworkflow_aiwhatsAppreviewsAIdomainPurchaseagentStudioaskaiaiStudioconversation_AIvoiceAI
Example:contentAI
locationIdsstring[]required

Array of location IDs to update rebilling for

Example:["zzyG7A4x6bRJl5SlhQhH","Vygq7VgXCDfg3xnl8TBR"]
configobjectrequired

Configuration for rebilling settings

Response

Result of the bulk rebilling update.

successbooleanrequired

Indicates if the rebilling update was successful

Example:true
location_updatedstring[]required

IDs of the sub-accounts whose rebilling was updated

Example:["AUKAtFVo0lWezBsBQ3FE"]
messagestring

Human-readable summary of the outcome (present on success/partial updates)

Example:Rebilling updated for 3 locations.
errorstringnullablerequired

Reason some or all locations failed to update; null on full success

Example:Saas Mode not activated