drewmo
10/22/2025, 7:20 PM[
{
"id": "call_[ID_REDACTED]",
"function": {
"name": "SHOPIFY_SHOPIFY_GRAPH_QL_QUERY",
"arguments": {
"query": "{ orders(first: 1, query: \"name:#2892\") { edges { node { id name createdAt email displayFulfillmentStatus displayFinancialStatus customer { id displayName firstName lastName defaultEmailAddress { emailAddress } } billingAddress { name phone company address1 city province provinceCode country zip } shippingAddress { name phone company address1 address2 city province provinceCode country zip } subtotalPriceSet { shopMoney { amount currencyCode } } totalShippingPriceSet { shopMoney { amount currencyCode } } totalTaxSet { shopMoney { amount currencyCode } } totalPriceSet { shopMoney { amount currencyCode } } lineItems(first: 10) { edges { node { id name quantity sku variant { id displayName price } } } } fulfillments { id status displayStatus createdAt inTransitAt deliveredAt trackingInfo { company number url } events(first: 1, reverse: true) { edges { node { status happenedAt estimatedDeliveryAt message } } } } } } } }"
}
},
"type": "function"
}
]
With the response here:
{
"errors": [
{
"extensions": {
"code": "undefinedField",
"fieldName": "defaultEmailAddress",
"typeName": "Customer"
},
"locations": [
{
"column": 175,
"line": 1
}
],
"message": "Field 'defaultEmailAddress' doesn't exist on type 'Customer'",
"path": [
"query",
"orders",
"edges",
"node",
"customer",
"defaultEmailAddress"
]
}
]
}
In the attached images you can see that using the correct current version for the API the query executes fine, but the response I got matches what happens when the oldest unsupported API version is used.
Is there a way to peg the API to the correct version, or is the only automatically decided when using the tool?
Environment details:
- We have our own Shopify app deployed with full permissions, and a custom auth config connected to it.
- Our LLM is running on Pipecat Cloud
- requirements.txt:
# pipecat-ai-flows==0.0.17
pipecat-ai[runner,webrtc,anthropic,openai,daily,deepgram,cartesia,silero,google,groq,elevenlabs,hume,tracing,sentry]==0.0.90
opentelemetry-exporter-otlp-proto-http~=1.34.1
dotenv
python-dotenv
onnxruntime
pydantic
mcp[cli]~=1.9.4
httpx>=0.28.1
composio>=0.8.19
- python version: 3.12
https://cdn.discordapp.com/attachments/1430637053946630256/1430637055368761364/image.png?ex=68fa8015&is=68f92e95&hm=b9b40012f449adbe008989a0cd5fc5f19b2469db8d09f69d1840e6ea25336d42&
https://cdn.discordapp.com/attachments/1430637053946630256/1430637055716757668/image.png?ex=68fa8016&is=68f92e96&hm=2ae06138988022e44a19779ba4c54d5b2c1c2f9a310540b98af7460e5581be67&Akram Boussanni
10/22/2025, 8:24 PMdrewmo
10/22/2025, 8:41 PMyousifastar
10/23/2025, 3:38 AMUday
10/23/2025, 5:32 AMdrewmo
10/23/2025, 5:37 AMUday
10/23/2025, 5:38 AMyousifastar
10/28/2025, 8:14 AMUday
10/28/2025, 1:18 PMdrewmo
10/28/2025, 6:55 PMlevel: "INFO"
message: "HTTP post https://[REDACTED].myshopify.com/admin/api/2024-04/graphql.json (attempt 1/3)"
requestId: "[REDACTED]
time: "2025-10-28T18:49:23.071777+00:00"
type: "network"
I sent this from your api-reference request testing page, log ID is: log_nxBiXJSVDApndrewmo
10/28/2025, 6:57 PMUday
10/29/2025, 7:09 AMdrewmo
10/29/2025, 6:13 PMUday
11/03/2025, 6:08 PMdrewmo
11/05/2025, 2:35 AMUday
11/05/2025, 5:04 AM20251103_02
ref: https://docs.composio.dev/changelog#adds-version-checks-for-tool-execution-and-improved-execution-speed-in-ts-sdk
https://cdn.discordapp.com/attachments/1430637053946630256/1435494905656119318/Screenshot_2025-11-05_at_10.33.31.png?ex=690c2c4f&is=690adacf&hm=d063ec1a0b1033514e2ba67eb8d611ba54e8184a3f562eabf8aa4bbb922d338f&drewmo
11/07/2025, 12:47 AMdrewmo
11/07/2025, 12:47 AMdrewmo
12/30/2025, 12:50 AMlog_UAFrIg6D8lKd which sent a request to the 2024-04 url for shopify.Uday
12/30/2025, 4:57 AMSHOPIFY_GRAPH_QL_QUERY to have the latest version 2025-10, ew tools might still be on the older version. Could you share any additional logs where you’re seeing issues? Also, is the older version causing any unexpected errors?
Thanks!drewmo
12/31/2025, 2:21 AMemail directly and newer query versions would use something like defaultEmailAddress { emailAddress }.
I won't be sure of what other schema changes Shopify has made, but for sure there are many.
Version 2024-04 will have changes from 2025-10 that for sure will cause queries issues.