Skip to main content
Skip to main content

StoreGetProductsParams

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

Properties

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

Default: 0

limitnumber
Limit the number of items returned in the list.

Default: 100

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 -.
idstring | string[]
IDs to filter products by.
qstring
Search term to search products' title, description, variants' title and sku, and collections' title.
collection_idstring[]
Filter products by their associated product collection's ID.
tagsstring[]
Filter products by their associated tags' value.
titlestring
Title to filter products by.
descriptionstring
Description to filter products by.
handlestring
Handle to filter products by.
is_giftcardboolean
Filter 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.
category_idstring[]
Filter products by their associated product category's ID.
include_category_childrenboolean
Whether to include product category children in the response.
Date filters to apply on the products' created_at date.
Date filters to apply on the products' created_at date.
expandstring
Comma-separated relations that should be expanded in the returned data.
fieldsstring
Comma-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.
cart_idstring
Retrieve prices for a cart ID.
region_idstring
Retrieve prices for a region ID.
currency_codestring
Retrieve prices for a currency code.
Was this section helpful?