AdminGetProductsParams
Parameters used to filter and configure the pagination of the retrieved products.
Properties
offsetnumberThe number of items to skip when retrieving a list.
Default: 0
limitnumberLimit the number of items returned in the list.
Default: 50
expandstringComma-separated relations that should be expanded in the returned data.
fieldsstringComma-separated fields that should be included in the returned data.
if a field is prefixed with
+ it will be added to the default fields, using - will remove it from the default fields.
without prefix it will replace the entire default fields.orderstringThe field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with
-.idstring | string[]IDs to filter products by.
qstringSearch term to search products' title, description, variants' title and sku, and collections' title.
statusProductStatus[]Statuses to filter products by.
statusProductStatus[]price_list_idstring[]Filter products by their associated price lists' ID.
collection_idstring[]Filter products by their associated product collection's ID.
tagsstring[]Filter products by their associated tags' value.
titlestringTitle to filter products by.
descriptionstringDescription to filter products by.
handlestringHandle to filter products by.
is_giftcardbooleanFilter products by whether they're gift cards.
type_idstring[]Filter products by their associated product type's ID.
sales_channel_idstring[]Filter products by their associated sales channels' ID.
discount_condition_idstringFilter products by their associated discount condition's ID.
category_idstring[]Filter products by their associated product category's ID.
include_category_childrenbooleanWhether to include product category children in the response.
created_atDateComparisonOperatorDate filters to apply on the products' created_at date.
created_atDateComparisonOperatorcreated_at date.updated_atDateComparisonOperatorDate filters to apply on the products' updated_at date.
updated_atDateComparisonOperatorupdated_at date.deleted_atDateComparisonOperatorDate filters to apply on the products' deleted_at date.
deleted_atDateComparisonOperatordeleted_at date.Was this section helpful?