Merge tickets
Merge one ticket into another.
MCP tool gorgias_write → merge_tickets
write Confirm
Uses Merge ticket in the app. When the two tickets differ, you choose which Subject, Assignee and Customer to keep; the call takes these from keep_from. Gorgias limits merging of two chat tickets to the same customer. A merge is not undone with one call. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| ticket_id integer required | integer | Ticket to merge away. |
| into_ticket_id integer required | integer | Ticket to keep. |
| keep_from enum | enum | source or target: which ticket supplies Subject, Assignee and Customer. Default: target. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "gorgias_write",
"arguments": {
"operation": "merge_tickets",
"arguments": {
"ticket_id": 1,
"into_ticket_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"kept_ticket_id": 10311,
"merged_ticket_id": 10482,
"subject": "Wrong size",
"keep_from": "target"
},
"isError": false
}