Managing metafields

Using the GraphQL Admin API, you can add metafields and private metafields to Shopify resources, such as a product, customer, or blog post. To learn how to create and manage metafields using the REST Admin API, refer to the REST Admin API Metafield reference.

This guide explains how to create and manage metafields, but not metafield definitions. Learn more about metafield definitions.