App reviews, troubleshooting, and recommendations
Is there a way to update a product over the API in such a way that the subsequent product updated webhook can be ignored?
Like maybe some kind of metafield that you can pass in so that you know to ignore the webhook?
Hi @Kalen_Jordan,
You can update product using graphQL API.
mutation {
productUpdate(input: {
id: "gid://shopify/Product/8421136433447"
title: "New Title",
variants:[] // for variant update
}) {
product {
id
title
}
}
}
In the above graphQL you can update product and variant.
I hope this might be helpful, happy to suggest.
Thanks...
Thanks but I was specifically looking for a field that could be passed through in the call that could be used to determine a webhook should be ignored. Like some kind of metafield that isn't used for any other purpose.
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On 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, 2023