Skip to main content

Ghl Bulk Edit Products Prices

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.ghl_bulk_edit_products_prices
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 248289680a2afb8e775269fc1d6ffa9cbbe85625f50e3363992572f57c7aef9e

Bulk edit products and associated prices with the official max-30 entity GHL endpoint. GHL category: Payments / Products. Requires explicit confirmation because it can change live catalog pricing.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-bulk-edit-products-prices-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_bulk_edit_products_prices",
"arguments": {
"confirmApply": "confirmApply_example",
"body": {},
"prices": [],
"products": [],
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"confirmApply"
],
"properties": {
"body": {
"type": "object",
"description": "Raw GHL-supported bulk-edit payload fields when the caller has the exact provider schema.",
"additionalProperties": true
},
"prices": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "GHL-supported price edit objects. Public docs do not render a field-specific schema."
},
"products": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "GHL-supported product edit objects. Public docs do not render a field-specific schema."
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"locationId": {
"type": "string",
"description": "GHL Location ID (optional, maps to altId)"
},
"confirmApply": {
"type": "string",
"description": "Required. Set exactly to \"CONFIRM APPLY\" only after the user explicitly confirms the bulk edit."
},
"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-bulk-edit-products-prices-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_bulk_edit_products_prices",
"arguments": {
"confirmApply": "confirmApply_example",
"body": {},
"prices": [],
"products": [],
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}'

Example Responses

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