StoreGetProductCategoriesParams
Parameters used to filter and configure the pagination of the retrieved product categories.
constructor
Parameters
args
unknown[]RequiredProperties
expand
stringComma-separated relations that should be expanded in the returned data.
fields
stringComma-separated fields that should be included in the returned data.
handle
stringHandle to filter product categories by.
include_descendants_tree
booleanWhether to include child categories in the retrieved categories.
limit
numberLimit the number of product categories returned in the list. Default is
100
.Default: 20
offset
numberThe number of items to skip when retrieving a list.
Default: 0
parent_category_id
null | stringFilter product categories by the ID of their associated parent category.
q
stringSearch term to search product categories' names and handles.
Was this section helpful?