Shopify
Get Shopify Order Tracking
Gets the carrier, tracking number and tracking link for one order.
Unverified
What the model is told
Find tracking details for a Shopify order. Ask the customer for their order number (without the # symbol) and the email address used for the order. It only returns an order when both match. The response lists each shipment with its status, estimated delivery date and tracking carrier, number and link. If there are no shipments, the order has not been dispatched yet, so say so.
Request
POSThttps://YOUR_SHOP.myshopify.com/admin/api/2026-10/graphql.json
Headers
Content-Typeapplication/jsonX-Shopify-Access-TokenYOUR_SHOPIFY_ADMIN_ACCESS_TOKEN
Body
{
"query": "query($q: String!) { orders(first: 1, query: $q) { nodes { name displayFulfillmentStatus fulfillments(first: 5) { displayStatus estimatedDeliveryAt trackingInfo { company number url } } } } }",
"variables": {
"q": "name:{{orderNumber}} email:{{email}}"
}
}Parameters
orderNumber stringThe order number the customer quotes, without the # symbol.email stringThe email address on the order. Both the order number and the email must match.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "c6bc6702-bb20-4a77-aa69-824b52ad1f25",
"type": "HTTP_REQUEST",
"label": "Get Shopify Order Tracking",
"name": "get_shopify_order_tracking",
"customName": false,
"description": "Find tracking details for a Shopify order. Ask the customer for their order number (without the # symbol) and the email address used for the order. It only returns an order when both match. The response lists each shipment with its status, estimated delivery date and tracking carrier, number and link. If there are no shipments, the order has not been dispatched yet, so say so.",
"parameters": [
{
"name": "orderNumber",
"type": "string",
"description": "The order number the customer quotes, without the # symbol."
},
{
"name": "email",
"type": "string",
"description": "The email address on the order. Both the order number and the email must match."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://YOUR_SHOP.myshopify.com/admin/api/2026-10/graphql.json"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "X-Shopify-Access-Token",
"value": "YOUR_SHOPIFY_ADMIN_ACCESS_TOKEN"
}
],
"body": "{\n \"query\": \"query($q: String!) { orders(first: 1, query: $q) { nodes { name displayFulfillmentStatus fulfillments(first: 5) { displayStatus estimatedDeliveryAt trackingInfo { company number url } } } } }\",\n \"variables\": {\n \"q\": \"name:{{orderNumber}} email:{{email}}\"\n }\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.