ghl_saas_update_saas_subscription
Updates an existing SaaS subscription's plan or pricing for a location using agency-level access. Use it to change subscription details for a customer by locationId, customerId, and subscriptionId.
Instructions
REQUIRES AN AGENCY-LEVEL (Company) TOKEN — spec security is Agency-Access-Only. Updates an existing SaaS subscription's plan/pricing for the location. NOTE: the generated name for this op was misleading ('generate_payment_link'); corrected to reflect what the op actually does, matching its summary 'Update SaaS subscription'. Update SaaS subscription Update SaaS subscription for given locationId and customerId Endpoint: PUT /saas/update-saas-subscription/{locationId} (Version header: v3; source: v3/saas-api-v3.json) Requires an Agency (company-level) token. OAuth scopes: saas/company.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locationId": "<locationId>",
"body": "<body>"
},
"name": "ghl_saas_update_saas_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| locationId | Yes |