Get a Product Category
GET
/store/product-categories/{id}
Product Categories
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.medusa-commerce.com/store/product-categories/'
Response Response Example
200 - Example 1
{
"product_category": {
"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:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"category_children": [
{}
],
"products": [
{}
],
"metadata": {
"car": "white"
}
}
}
Request
Path Params
id
string
required
Query Params
fields
string
optional
expand
string
optional
Responses
Modified at 2023-11-27 13:05:07