How to set category metafields via graphql?

Hello!

How can i set the category metafields of a newly created product via graphql?

How can i retrieve the possible values for the “id” and “value” fields?

Hi there, have you taken a look at productUpdate?

You can pass category in the product input. This is also the same for productCreate

I already know how to set the category of a product.

What I’m interested in is how to set the category metafields of a product.
I have no idea where to find the Metafield and Metaobject ids.
And I haven’t found a list for them like this: 2025-03-rc1