handle 或 q 之类的字段进行过滤。产品类别也可以分页。此 API 路由还可用于按句柄检索产品类别。curl --location 'https://apifoxmock.com/m1/4532246-4179931-default/store/product-categories'{
"count": 0,
"offset": 0,
"limit": 0,
"product_categories": [
{
"id": "pcat_01G2SG30J8C85S4A5CHM2S1NS2",
"name": "Regular Fit",
"description": "",
"handle": "regular-fit",
"mpath": "pcat_id1.pcat_id2.pcat_id3",
"is_internal": false,
"is_active": false,
"rank": 0,
"parent_category_id": null,
"parent_category": {},
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"category_children": [
{}
],
"products": [
{}
],
"metadata": {
"car": "white"
}
}
]
}