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