feat(medusa-react): add product category queries and mutations (#3218)

This commit is contained in:
Riqwan Thamir
2023-02-16 10:22:23 +01:00
committed by GitHub
parent 12d304307a
commit 75924b682f
12 changed files with 491 additions and 4 deletions
@@ -144,6 +144,7 @@ export const defaultProductCategoryFields = [
"handle",
"is_active",
"is_internal",
"parent_category_id",
"created_at",
"updated_at",
]
@@ -13,7 +13,7 @@ import { defaultStoreScope } from "."
* description: "Retrieve a list of product categories."
* x-authenticated: false
* parameters:
* - (query) q {string} Query used for searching product category names orhandles.
* - (query) q {string} Query used for searching product category names or handles.
* - (query) parent_category_id {string} Returns categories scoped by parent
* - (query) offset=0 {integer} How many product categories to skip in the result.
* - (query) limit=100 {integer} Limit the number of product categories returned.