RestAPI call method

How to RestAPI call method use to enable the storefront access button on the metafield definition

Hi @Hari10 ,

Currently this is only available through GraphQL API’s. The access level is determined by the metafield definition, which isn’t available on REST.

Here’s a link to the graphql mutation: https://shopify.dev/docs/api/admin-graphql/2024-01/mutations/metafieldDefinitionCreate

This document here gives a good overall summary as well:

Hope that helps,

  • Kyle G.