How can we use the rest api and graph ql to get and post metafields. We are using node. Can any one share some examples?
There's a Node Library here available that would allow you to access the Metafields resource on Shopify's Admin API.
You might like to check out the GraphQL Metafield documentation here. Additionally there's a great run through regarding the GraphQL Metafields here.
The REST API documentation for Metafields is here. Hope that helps!