Skip to main content
Anchor to metafieldDefinitionUnpin

metafieldDefinitionUnpin

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

The ID of the metafield definition to unpin. Using identifier is preferred.

MetafieldDefinitionIdentifierInput

The identifier of the metafield definition to unpin.


Was this section helpful?

Anchor to MetafieldDefinitionUnpinPayload returnsMetafieldDefinitionUnpinPayload returns

MetafieldDefinition

The metafield definition that was unpinned.

[MetafieldDefinitionUnpinUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?