Hi
I am following this doc for : discountCodeFreeShippingCreate mutation
https://shopify.dev/docs/api/admin-graphql/2024-01/mutations/discountCodeFreeShippingCreate
but i cant find a way to apply a function ID andmetafields in GraphQuery.
basically i am developing a logic where i can generate a code to apply free shipping only on some products. On study i found that custom logics are possibble if using shopify functions and metafields.
is there any way to achieve this ?