App reviews, troubleshooting, and recommendations
I have a query that returns an array of products, I can't work out how to right a mutation that updates the seo props of each product in the array.
(this is how far I could get...)
mutation productUpdate($input: ProductInput!) {
productUpdate(input: $input) {
product {
id {
seo {
description: "Testing update description",
title: "Testing update title"
}
}
}
userErrors {
field
message
}
}
}
Hello @juleshaydn
You can use this query for product mutation of seo fileds
Query : -
mutation {
productUpdate(input: {id: "gid://shopify/Product/8124163522853",
variants: {price: 300.00},
seo: {description: "testing description",
title: "test123"}})
{product {
id
seo {
description
title
}
}
}
}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025