Get Attribute by ID
GET
/pimapi/v1/attributes/{attributeId}Retrieve detailed properties, rules, and value list constraints of a single attribute by its ID.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
attributeId | string | Yes | Unique ID of the attribute to retrieve (e.g., COLOR). |
Query Parameters
Section titled “Query Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
languageId | string | No | Language tag to localize descriptions (e.g., en, de). If omitted, all translated values are returned. |
Request Examples
Section titled “Request Examples”curl -X GET "https://dev.pxm.eu.prodexa.com/pxm/pimapi/v1/attributes/COLOR?languageId=en" \ -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/attributes/COLOR?languageId=en", { 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 the fully expanded attribute metadata object.
{ "status": 200, "meta": { "languageId": "en" }, "data": { "attributeId": "COLOR", "extAttributeId": "EXT_COLOR_99", "attribute.description": [ { "languageId": "en", "value": "Color" } ], "attribute.longDescription": [ { "languageId": "en", "value": "Standard marketing color selection of product" } ], "fallbackDescription": "Color", "extClassificationSystem": "eCl@ss", "extDefaultName": "Color", "isDefaultOverwritable": false, "isMultiLanguage": true, "isMultivalued": false, "isReadonly": false, "isSupplierResponse": false, "excludeFromProductSearch": false, "expression": null, "facetOrderNo": 5, "documentUrl": null, "isRequired": false, "isVariable": true, "orderNo": 1, "attributeSection": { "attributeSectionId": "TECHNICAL_DETAILS", "description": [ { "languageId": "en", "value": "Technical Details" } ] }, "attributeType": { "type": "VALUE_LIST", "typeExtension": { "isRequired": false, "isVariable": true, "orderNo": 1, "defaultValue": "BLACK", "unitOfMeasure": { "unitOfMeasureId": "UOM_PCS", "unitOfMeasureId.symbol": "pcs", "unitOfMeasureId.description": [ { "languageId": "en", "value": "Pieces" } ] }, "valueList": { "valueListId": "VL_COLORS", "description": [ { "languageId": "en", "value": "Colors list" } ], "valueListItems": [ { "value": "BLACK", "description": [ { "languageId": "en", "value": "Black" } ], "fallBackDescription": "Black", "orderNo": 1 }, { "value": "WHITE", "description": [ { "languageId": "en", "value": "White" } ], "fallBackDescription": "White", "orderNo": 2 } ] } } }, "createdOn": "2026-06-15T09:00:00Z", "createdBy": "admin", "changedOn": "2026-06-17T11:00:00Z", "changedBy": "editor_1" }}HTTP 404 Not Found Response
Section titled “HTTP 404 Not Found Response”Returned if the specified attribute ID does not exist in the system.
{ "status": 404, "meta": { "languageId": "en" }, "error": "No Attribute found"}