MetafieldDefinitionSortKeys enum

Version unstable

The set of valid sort keys for the MetafieldDefinition query.


  • ID

    Sort by the id value.

  • NAME

    Sort by the name value.


    Sort by the pinned_position value.


    During a search (i.e. when the query parameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used.