Skip to main content

Ghl Create Shipping Zone

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.ghl_create_shipping_zone
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 9e9e91ec662581f7848bf5b839539f955023bcff7077c1b54ae9e407b95f7537

Create a new shipping zone with specific countries and states GHL category: Payments. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-create-shipping-zone-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_create_shipping_zone",
"arguments": {
"name": "name_example",
"countries": [],
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"name",
"countries"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the shipping zone"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"countries": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Country code (e.g., US, CA)"
},
"states": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "State code (e.g., CA, NY)"
}
}
},
"description": "Optional array of state codes for this country"
}
}
},
"description": "Array of countries with optional state restrictions"
},
"locationId": {
"type": "string",
"description": "GHL Location ID (optional, uses default if not provided)"
},
"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-create-shipping-zone-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_create_shipping_zone",
"arguments": {
"name": "name_example",
"countries": [],
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}'

Example Responses

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