On the GraphQL document page about Product Variant it says:
unitCost> Unit cost associated with the inventory item. Note: the user must have “View product costs” permission granted in order to access this field once product granular permissions are enabled.
https://shopify.dev/docs/api/admin-graphql/2024-10/objects/ProductVariant
Where is this “View product costs” permission given to API user?
I have set up an application to a store and given it API access scopes read_inventory and read_products. I have created GraphQL query and successfully ran it to get products and inventories from Shopify store. I also get inventory item unit cost if I request it but I would like to hide it from potential users of shop’s GraphQL API. So my question is where is “View product costs” permission set, and can I use it to limit API user’s access?