AdminGetProductsParams
Parameters used to filter and configure the pagination of the retrieved products.
Properties
offset
numberThe number of items to skip when retrieving a list.
Default: 0
limit
numberLimit the number of items returned in the list.
Default: 50
expand
stringComma-separated relations that should be expanded in the returned data.
fields
stringComma-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.order
stringThe field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with
-
.id
string | string[]IDs to filter products by.
q
stringSearch term to search products' title, description, variants' title and sku, and collections' title.
status
ProductStatus[]Statuses to filter products by.
status
ProductStatus[]price_list_id
string[]Filter products by their associated price lists' ID.
collection_id
string[]Filter products by their associated product collection's ID.
tags
string[]Filter products by their associated tags' value.
title
stringTitle to filter products by.
description
stringDescription to filter products by.
handle
stringHandle to filter products by.
is_giftcard
booleanFilter products by whether they're gift cards.
type_id
string[]Filter products by their associated product type's ID.
sales_channel_id
string[]Filter products by their associated sales channels' ID.
discount_condition_id
stringFilter products by their associated discount condition's ID.
category_id
string[]Filter products by their associated product category's ID.
include_category_children
booleanWhether to include product category children in the response.
created_at
DateComparisonOperatorDate filters to apply on the products' created_at
date.
created_at
DateComparisonOperatorcreated_at
date.updated_at
DateComparisonOperatorDate filters to apply on the products' updated_at
date.
updated_at
DateComparisonOperatorupdated_at
date.deleted_at
DateComparisonOperatorDate filters to apply on the products' deleted_at
date.
deleted_at
DateComparisonOperatordeleted_at
date.Was this section helpful?