Browse and search parts categories
GET
/api/v1/catalog/part-categoriesParts category tree and search. Use either q or path.
Use q for search or the repeated path parameter to browse the tree. Leaf entries contain details fields for the listing form.
Required scope listings:read
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
listingTypeValue | query | string | Yes | max. characters 100 |
path | query | string[] | No | — |
q | query | string | No | Search phrase matched against the leaf name and its path. min. characters 2 · max. characters 120 |
limit | query | integer | No | Maximum search results. Requires q. minimum 1 · maximum 100 · default 30 |
Responses
200 Request completed successfully.application/jsonSchema PartsCategoryPage
| Name | Type | Required | Description |
|---|---|---|---|
listingTypeValue | string | No | — |
path | string[] | No | — |
items | object[] | No | — |
JSON Schema
{
"$ref": "#/components/schemas/PartsCategoryPage"
}404 Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}422 Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}Other API errors Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}401 A valid API key is required.403 The scope is missing or the production request does not use HTTPS.429 Rate limit exceeded. Check Retry-After.503 Access is closed or the service is temporarily unavailable. Check code.Related schemas
PartsCategoryPage
{
"type": "object",
"properties": {
"listingTypeValue": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": "string"
}
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"branch",
"leaf"
]
},
"path": {
"type": "array",
"items": {
"type": "string"
}
},
"label": {
"type": "string"
},
"details": {
"type": "object",
"properties": {
"partMainCategory": {
"type": "string"
},
"partSubCategory": {
"type": "string"
},
"partCategoryPath": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"partMainCategory",
"partSubCategory",
"partCategoryPath"
]
}
},
"required": [
"kind",
"path",
"label"
]
}
}
}
}