Skip to main content

Ghl Bulk Update Products

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.ghl_bulk_update_products
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 0bd3493be3ce62c52ae900f1499a74a40c2bcf0774baa92e69f53a5b44a7ab95

Bulk update products using the official Products bulk-update endpoint. GHL category: Payments / Products. Max behavior depends on the GHL bulk update type.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-bulk-update-products-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_bulk_update_products",
"arguments": {
"type": "bulk-update-price",
"productIds": [],
"price": {},
"filters": {},
"currency": "currency_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"availability": false,
"confirmApply": "confirmApply_example",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"type",
"productIds"
],
"properties": {
"type": {
"enum": [
"bulk-update-price",
"bulk-update-availability",
"bulk-update-product-collection",
"bulk-delete-products",
"bulk-update-currency"
],
"type": "string",
"description": "GHL bulk update operation type"
},
"price": {
"type": "object",
"description": "Optional price update instruction",
"additionalProperties": true
},
"filters": {
"type": "object",
"description": "Optional GHL-supported bulk filters",
"additionalProperties": true
},
"currency": {
"type": "string",
"description": "Optional currency code"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"locationId": {
"type": "string",
"description": "GHL Location ID (optional, maps to altId)"
},
"productIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Product IDs to update"
},
"availability": {
"type": "boolean",
"description": "Optional availability value"
},
"confirmApply": {
"type": "string",
"description": "Required when type is bulk-delete-products. Set exactly to \"CONFIRM APPLY\"."
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
},
"collectionIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional collection IDs"
},
"compareAtPrice": {
"type": "object",
"description": "Optional compare-at-price update instruction",
"additionalProperties": 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-update-products-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_bulk_update_products",
"arguments": {
"type": "bulk-update-price",
"productIds": [],
"price": {},
"filters": {},
"currency": "currency_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"availability": false,
"confirmApply": "confirmApply_example",
"strictTenant": false
}
}
}'

Example Responses

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