Store Metafields
Store metafields allow you to attach a metafield to the store itself. They are suitable for any global information against the store that is not channel specific. Channel metafields are appropriate for any storefront-specific data you need to store in metafields. There are two ways to create a store metafield in Admin GraphQL. You can remove the resource ID or use the store’s Global ID. Examples of each type are below:
You can create 10,000 metafields on a store entity instead of the typical limit of 250 per entity-per-client-id.
Remove resource ID
Request
Response
Example mutation: Create a store metafield
GraphQL variables
Use the Global ID
Request
Response
Example mutation: Create a store metafield
GraphQL variables