GraphiQL App - Product Update By Handle

GraphiQL App - Product Update By Handle

BrandAcclaim
Visitor
2 0 0

Hello!

We are new to Shopify and we are wondering if there is a way to do a  productUpdate using the Handle rather than the ID? Otherwise, is there a way to do a productByHandle query to get the ID, then pass that ID to a productUpdate mutation?

The reason for this request is that when we export the products to a CSV file, the Product Handle is exported, but not the Product ID. Otherwise, is there a way to export the product data with the ID included?

Thanks!!

Reply 1 (1)

tunisoft
Shopify Partner
18 4 1

Hi,

You can use productByHandle to get the product ID