Read product private metafield in Cart input

Hi,

Now it’s possible to read public product metafields in cart input

https://shopify.dev/api/functions/reference/product-discounts/graphql/common-objects/product

but not private metafields. Would you please add private metafields too?

There’s no access limitation, since both the function and private metafields belong to same app.

Thanks

Hi @markus12 – Function input queries now support reserved namespaces, which make private metafields unnecessary.

Hello Nick.

How can i get two metafields of a product from input.graphql ?

Actually, I can get value of one field but i need to get two or more values of metafields. If it is possible, I need to know how is the structure of input.graphql.

I Attach my input.graphql