In Liquid, arrives pre-shaped. In GraphQL the query is the shape: you list the fields you want and the response contains exactly those.
Two conventions. IDs look like gid://shopify/Product/8442291749090: a global ID that carries its type. And every list is a connection you read through edges and node, and it needs a first: argument. You can't ask for all products at once.
{
"data": {
"products": {
"edges": [
{
"node": {
"id": "gid://shopify/Product/8442291749090",
"title": "Ethiopian Yirgacheffe",
"handle": "ethiopian-yirgacheffe",
"status": "ACTIVE",
"variants": {
"edges": [{ "node": { "price": "18.99" } }]
}
}
}
]
}
}
}
The request carries an access token, so it runs on an app's server. Theme Liquid can't send it. Browser JavaScript must never send it: that ships the token to every visitor.
AI tell: an invented field, or an Admin API fetch in theme code. The first fails on the schema. The second leaks the token.