How to call admin rest api and graphql to get and post metafields?

opencartcity
New Member
7 0 0

Hello,

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?

Thanks!

0 Likes
L_J_K
Shopify Staff
Shopify Staff
143 15 24

Hey @opencartcity 

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!

| API Support @ Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
0 Likes