Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Metafield Definitions available on Order, Collection, and Customer

API

As of API version 2022-01, you can query for metafieldDefinitions on Order, Collection, and Customer. Previously this was only available on Product and ProductVariant.

Metafield Definitions are used to define a namespace, key, and type across all instances of a type of resource. These definitions enable Admin UI so that merchants can edit these fields in the context of each resource. You can learn more about Metafield Definitions in the Developer Docs.