Skip to main content

Agency Saas Deprecated Update Subscription

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.agency_saas_deprecated_update_subscription
  • Contract tier: legacy
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 1762ac69eff9879f9c8edd81c9e32ff4305b524354a67031c5b9f46215271c2a

Deprecated public API path for updating the SaaS subscription for one GHL location. GHL category: Launchpad / Saas. Requires an agency PIT token and company ID. Agency API is only available on the $497/mo Pro SaaS plan. This agency SaaS operation writes to GHL and may change billing, subscription, wallet, rebilling, or SaaS state. This tool uses a deprecated GHL public API path and is exposed only for parity/backward compatibility.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-agency-saas-deprecated-update-subscription-example",
"method": "tools/call",
"params": {
"name": "ghl.agency_saas_deprecated_update_subscription",
"arguments": {
"locationId": "locationId_123",
"body": {},
"query": {}
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"locationId"
],
"properties": {
"body": {
"type": "object",
"description": "Request body for this official GHL SaaS endpoint, using only fields documented by GHL.",
"additionalProperties": true
},
"query": {
"type": "object",
"description": "Optional GHL-supported query parameters for this SaaS endpoint, such as Stripe customer/subscription identifiers or pagination/filter fields from the official docs.",
"additionalProperties": true
},
"locationId": {
"type": "string",
"description": "locationId path parameter required by /saas-api/public-api/update-saas-subscription/:locationId."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-agency-saas-deprecated-update-subscription-example",
"method": "tools/call",
"params": {
"name": "ghl.agency_saas_deprecated_update_subscription",
"arguments": {
"locationId": "locationId_123",
"body": {},
"query": {}
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.agency_saas_deprecated_update_subscription executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}