Anchor to MetafieldDefinitionSortKeysMetafield
MetafieldDefinitionSortKeys
enum
The set of valid sort keys for the MetafieldDefinition query.
Anchor to Valid valuesValid values
- •
Sort by the
id
value.- Anchor to NAMENAME•
Sort by the
name
value.- Anchor to PINNED_POSITIONPINNED_POSITION•
Sort by the
value.
- Anchor to RELEVANCERELEVANCE•
Sort by relevance to the search terms when the
query
parameter is specified on the connection. Don't use this sort key when no search query is specified.
Was this section helpful?
Anchor to FieldsFields
- •ARGUMENT
Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.
Was this section helpful?