AdminGetProductCategoriesParams
Parameters used to filter and configure the pagination of the retrieved product categories.
Properties
qstringSearch term to search product categories' names and handles.
handlestringHandle to filter product categories by.
include_descendants_treebooleanWhether to include child product categories in the response.
is_internalbooleanFilter product categories by whether they're internal.
is_activebooleanFilter product categories by whether they're active.
parent_category_idnull | stringFilter product categories by their associated parent ID.
expandstringComma-separated relations that should be expanded in the returned data.
fieldsstringComma-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.offsetnumberThe number of items to skip when retrieving a list.
Default: 0
limitnumberLimit the number of product categories returned in the list. The default is
100.Default: 20
orderstringThe 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?