StoreGetProductsParams
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: 100
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.
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.
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' created_at
date.
updated_at
DateComparisonOperatorcreated_at
date.expand
stringComma-separated relations that should be expanded in the returned data.
fields
stringComma-separated fields that should be included in the returned data.
cart_id
stringRetrieve prices for a cart ID.
region_id
stringRetrieve prices for a region ID.
currency_code
stringRetrieve prices for a currency code.
Was this section helpful?