Skip to main content

Ghl Update Product Collection

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.ghl_update_product_collection
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: d77b70d1872dde69b5e1ff407a5307a72e9547c32c1335153acc6ee93aec5214

Update a product collection. GHL category: Payments / Products / Collections.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-update-product-collection-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_update_product_collection",
"arguments": {
"collectionId": "collectionId_123",
"seo": {},
"name": "name_example",
"slug": "slug_example",
"image": "image_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"collectionId"
],
"properties": {
"seo": {
"type": "object",
"description": "Optional SEO metadata",
"additionalProperties": true
},
"name": {
"type": "string",
"description": "Collection name"
},
"slug": {
"type": "string",
"description": "Collection slug"
},
"image": {
"type": "string",
"description": "Collection image URL"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"locationId": {
"type": "string",
"description": "GHL Location ID (optional, maps to altId)"
},
"collectionId": {
"type": "string",
"description": "Product collection ID"
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
}
}
}

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-ghl-update-product-collection-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_update_product_collection",
"arguments": {
"collectionId": "collectionId_123",
"seo": {},
"name": "name_example",
"slug": "slug_example",
"image": "image_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}'

Example Responses

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