Skip to main content
Log inSign up
Anchor to metafieldDefinitionPin

metafieldDefinitionPin

mutation

Requires API client to have access to the namespace and the resource type associated with the metafield definition.

You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions. The order of your pinned metafield definitions determines the order in which your metafields are displayed on the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed.

ID!required

The ID of the metafield definition to pin.


Was this section helpful?

Anchor to MetafieldDefinitionPinPayload returnsMetafieldDefinitionPinPayload returns

The metafield definition that was pinned.

The list of errors that occurred from executing the mutation.


Was this section helpful?