What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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