Get customer history

Earlier tickets of a customer, with Shopify orders when a store is connected.

MCP tool gorgias_read → get_customer_history

read

Returns the tickets linked to the customer by contact email, newest first, and, for connected Shopify stores, the 10 most recent orders with number, status, date, total and item count. Use it before replying to see whether the customer wrote before.

Parameters

Parameters: get_customer_history
NameTypeDescription
ticket_id integer integer Ticket ID whose customer to look up. Use this or email.
email string string Customer email. Use this or ticket_id.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gorgias_read",
    "arguments": {
      "operation": "get_customer_history",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "customer": {
      "name": "Dana W.",
      "email": "dana@example.com"
    },
    "tickets": [
      {
        "ticket_id": 10311,
        "subject": "Wrong size",
        "status": "closed"
      }
    ],
    "orders": [
      {
        "order": "#4471",
        "status": "Paid",
        "date": "2026-10-08",
        "total": "64.00",
        "items": 2
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.