GitHub

ShopifyOrderSortKeys

enum

import { ShopifyOrderSortKeys } from '@daffodil/driver/shopify'

The set of valid sort keys for the Order query.

enum ShopifyOrderSortKeys {
  Id = ShopifyOrderSortKeys.Id,
  ProcessedAt = ShopifyOrderSortKeys.ProcessedAt,
  Relevance = ShopifyOrderSortKeys.Relevance,
  TotalPrice = ShopifyOrderSortKeys.TotalPrice,
}

Properties

Id
ShopifyOrderSortKeys.Id

Sort by the id value.

ProcessedAt
ShopifyOrderSortKeys.ProcessedAt

Sort by the processed_at value.

Relevance
ShopifyOrderSortKeys.Relevance

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.

TotalPrice
ShopifyOrderSortKeys.TotalPrice

Sort by the total_price value.