INPUT_OBJECT

ProductSortInput

Indicates the sort direction for the product listings

link GraphQL Schema definition

  • input ProductSortInput {
  • # The product name. Customers use this name to identify the product.
  • name: SortEnum
  • # A number or code assigned to a product to identify the product, options, price,
  • # and manufacturer
  • sku: SortEnum
  • # Detailed information about the product. The value can include simple HTML tags.
  • description: SortEnum
  • # A short description of the product. Its use depends on the theme.
  • short_description: SortEnum
  • # The price of the item
  • price: SortEnum
  • # The price of the item
  • final_price: SortEnum
  • # The discounted price of the product
  • special_price: SortEnum
  • # The beginning date that a product has a special price
  • special_from_date: SortEnum
  • # The end date that a product has a special price
  • special_to_date: SortEnum
  • # The weight of the item, in units defined by the store
  • weight: SortEnum
  • # A number representing the product's manufacturer
  • manufacturer: SortEnum
  • # A string that is displayed in the title bar and tab of the browser and in search
  • # results lists
  • meta_title: SortEnum
  • # A comma-separated list of keywords that are visible only to search engines
  • meta_keyword: SortEnum
  • # A brief overview of the product for search results listings, maximum 255
  • # characters
  • meta_description: SortEnum
  • # The relative path to the main image on the product page
  • image: SortEnum
  • # The relative path to the small image, which is used on catalog pages
  • small_image: SortEnum
  • # The relative path to the product's thumbnail image
  • thumbnail: SortEnum
  • # The price when tier pricing is in effect and the items purchased threshold has
  • # been reached
  • tier_price: SortEnum
  • # The beginning date for new product listings, and determines if the product is
  • # featured as a new product
  • news_from_date: SortEnum
  • # The end date for new product listings
  • news_to_date: SortEnum
  • # XML code that is applied as a layout update to the product page
  • custom_layout_update: SortEnum
  • # If the product has multiple options, determines where they appear on the product
  • # page
  • options_container: SortEnum
  • # Indicates whether the product has required options
  • required_options: SortEnum
  • # Indicates whether additional attributes have been created for the product
  • has_options: SortEnum
  • # The label assigned to a product image
  • image_label: SortEnum
  • # The label assigned to a product's small image
  • small_image_label: SortEnum
  • # The label assigned to a product's thumbnail image
  • thumbnail_label: SortEnum
  • # Timestamp indicating when the product was created
  • created_at: SortEnum
  • # Timestamp indicating when the product was updated
  • updated_at: SortEnum
  • # The product's country of origin
  • country_of_manufacture: SortEnum
  • # The name of a custom layout
  • custom_layout: SortEnum
  • # Indicates whether a gift message is available
  • gift_message_available: SortEnum
  • }