Skip to main content
Skip to main content

StoreGetProductsParams

Parameters used to filter and configure the pagination of the retrieved products.

constructor


Properties

cart_idstring
Retrieve prices for a cart ID.
category_idstring[]
Filter products by their associated product category's ID.
collection_idstring[]
Filter products by their associated product collection's ID.
Date filters to apply on the products' created_at date.
currency_codestring
Retrieve prices for a currency code.
descriptionstring
Description to filter products by.
expandstring
Comma-separated relations that should be expanded in the returned data.
fieldsstring
Comma-separated fields that should be included in the returned data.
handlestring
Handle to filter products by.
idstring | string[]
IDs to filter products by.
include_category_childrenboolean
Whether to include product category children in the response.
is_giftcardboolean
Filter products by whether they're gift cards.
limitnumber
Limit the number of items returned in the list.

Default: 100

offsetnumber
The number of items to skip when retrieving a list.

Default: 0

orderstring
The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with -.
qstring
Search term to search products' title, description, variants' title and sku, and collections' title.
region_idstring
Retrieve prices for a region ID.
sales_channel_idstring[]
Filter products by their associated sales channels' ID.
tagsstring[]
Filter products by their associated tags' value.
titlestring
Title to filter products by.
type_idstring[]
Filter products by their associated product type's ID.
Date filters to apply on the products' created_at date.
Was this section helpful?