Retrieve Category
GET
/store/:storeCode/product-categories/:idRetrieve a product category by ID.
Path Parameters
storeCoderequiredstringStore slug in the URL (first argument to every SDK store method).
idrequiredstringThe category's ID.
Query Parameters
fieldsstringComma-separated fields to include. Prefix with `*` to expand a relation (e.g. `id,*variants`).
include_descendants_treebooleanInclude the full descendants tree.
include_ancestors_treebooleanInclude the ancestors tree.
Response
Status
200OK
Schema
CopyHttpTypes.StoreProductCategoryResponse
Properties
product_categoryrequiredStoreProductCategoryThe category.