I am pretty sure the intention of the key return was not that it’s always “value” rather than the metafield id.
Can some Dev please look into it? There is no way to distinguish the Fields right now.
query TranslatableResource {
translatableResource(resourceId: "gid://shopify/Product/123") {
nestedTranslatableResources(resourceType:METAFIELD, first: 10) {
edges {
node {
translatableContent {
key
type
digest
locale
}
}
}
}
}
}
Result
{
"data": {
"translatableResource": {
"nestedTranslatableResources": {
"edges": [
{
"node": {
"translatableContent": [
{
"key": "value",
"type": "STRING",
"digest": "4f49f8116c5f34929fbce70d2717446f13568c68d0cf58422abb471172e6ecd2",
"locale": "en"
}
]
}
},
{
"node": {
"translatableContent": [
{
"key": "value",
"type": "STRING",
"digest": "5b06c1f5381779ad3c90f4657cee27e6538942c9af0e562c9220c82095741832",
"locale": "en"
}
]
}
},
{
"node": {
"translatableContent": [
{
"key": "value",
"type": "SINGLE_LINE_TEXT_FIELD",
"digest": "504657d178145c8b13a17dbac8d4316a8fce74dc054103db3db4da79578b59f9",
"locale": "en"
}
]
}
}
]
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 7,
"actualQueryCost": 7,
"throttleStatus": {
"maximumAvailable": 2000,
"currentlyAvailable": 1993,
"restoreRate": 100
}
}
}
}