/
Get an attribute by ID
Retrieve an attribute by its unique ID.
Security
sessionAuth
- AIPIM Production Serverhttps://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/attribute/{id}
curl -i -X GET \
'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/attribute/{id}' \
-b cc.session=YOUR_API_KEY_HEREThe retrieved attribute.
Indicates whether the attribute is displayed in the PLP (Product Listing Page)
Example:true
Indicates whether the attribute is displayed in the PDP (Product Detail Page)
Example:true
Indicates whether the attribute is used for product comparison in a store
Example:false
The type of the attribute
Enum:"Short Text""Paragraph""Date""HTML""Number""Decimal""List""Boolean""URL""Media"
Example:"Short Text"
The formatting type (specific to some types)
Enum:"None""Uppercase""Lowercase"
Example:"None"
Indicates whether proportion restriction is applied (specific to some types)
Response
{ "name": "Sample Attribute", "active": true, "code": "sample_attribute", "auto_sync_to_prod": true, "description": "This is a sample attribute", "vms_visible": false, "vms_editable": false, "store_filter": false, "store_display_plp": true, "store_display_pdp": true, "store_search": false, "store_compare": false, "tags": [ "tag1", "tag2" ], "type": "Short Text", "mandatory": true, "jsonata": "payload.key", "limit": 10, "formatting": "None" }