activecampaign_graphql_query
Run arbitrary GraphQL queries against ActiveCampaign's Ecommerce API to retrieve or mutate data with precise field selection.
Instructions
🟡 WRITE · GraphQL · POST /api/3/ecom/graphql
Run an arbitrary query against ActiveCampaign's Ecommerce GraphQL API and return the JSON result.
A GraphQL document may contain mutations, so treat this as a write. Endpoint: https://your-account.api-us1.com/api/3/ecom/graphql. Prefer the dedicated REST tools for standard CRUD; use this for precise field selection or ecommerce data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "activecampaign_graphql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The GraphQL query or mutation document. | |
| variables | No | Optional variables object referenced by the query. | |
| operationName | No | Optional operation name when the document defines several. |