StoreGetProductCategoriesParams
Parameters used to filter and configure the pagination of the retrieved product categories.
Properties
q
stringSearch term to search product categories' names and handles.
handle
stringHandle to filter product categories by.
parent_category_id
null | stringFilter product categories by the ID of their associated parent category.
include_descendants_tree
booleanWhether to include child categories in the retrieved categories.
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.offset
numberThe number of items to skip when retrieving a list.
Default: 0
limit
numberLimit the number of product categories returned in the list. Default is
100
.Default: 20
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
-
.Was this section helpful?