Search Products
GET
/pimapi/v1/catalogs/{catalogId}/products/searchPerform a fast product search in a catalog matching specified classification systems and group filters.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
catalogId | string | Yes | Unique ID of the catalog to search (e.g., CAT_STANDARD). |
Query Parameters
Section titled “Query Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
classificationId | string | No | Filter by associated classification system ID. |
classificationGroupClassificationId | string | No | Filter by classification system ID associated with a classification group. |
classificationGroupId | string | No | Filter by classification group ID. |
languageId | string | No | Language tag to localize descriptions (e.g., en, de). |
sorting | string | No | Field sorting instructions (e.g., +productId, -statusId). |
page | integer | No | Zero-indexed page number for pagination. |
pageSize | integer | No | Number of items per page. |
Request Examples
Section titled “Request Examples”curl -X GET "https://dev.pxm.eu.prodexa.com/pxm/pimapi/v1/catalogs/CAT_STANDARD/products/search?classificationId=ECLASS_10&page=0&pageSize=1" \ -H "X-API-KEY: your_hex_api_key" \ -H "Accept: application/json"const headers = new Headers();headers.append("X-API-KEY", "your_hex_api_key");headers.append("Accept", "application/json");
fetch("https://dev.pxm.eu.prodexa.com/pxm/pimapi/v1/catalogs/CAT_STANDARD/products/search?classificationId=ECLASS_10&page=0&pageSize=1", { method: 'GET', headers: headers}) .then(response => response.json()) .then(result => console.log(result)) .catch(error => console.log('error', error));Response Structure
Section titled “Response Structure”HTTP 200 OK Response
Section titled “HTTP 200 OK Response”Returns a paginated list wrapper with matching product items.
{ "status": 200, "meta": { "languageId": "en", "page": 0, "pageSize": 1, "totalElements": 820, "totalPages": 820 }, "data": [ { "productId": "PROD_1001", "catalogId": "CAT_STANDARD", "_objectPreviewURI": "https://dev.pxm.eu.prodexa.com/pxm/api/files/previews/screw_thumb.jpg", "_objectName": "M6 Steel Screw", "_objectDescription": "Premium stainless steel M6 machine screw with hex socket head." } ]}HTTP 404 Not Found Response
Section titled “HTTP 404 Not Found Response”Returned if no products are found matching the query.
{ "status": 404, "meta": { "languageId": "en" }, "error": "No Products found"}