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
}
}
}
}
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023