Skip to content

Get an attribute by ID

Request

Retrieve an attribute by its unique ID.

Security
sessionAuth
Path
idstringrequired

The ID of the attribute to retrieve.

orgIdstringrequired

The ID of the organization.

curl -i -X GET \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/attribute/{id}' \
  -b cc.session=YOUR_API_KEY_HERE

Responses

The retrieved attribute.

Bodyapplication/json
namestring

The name of the attribute

Example:"Sample Attribute"
activeboolean

Indicates whether the attribute is active

Example:true
codestring

The code of the attribute

Example:"sample_attribute"
auto_sync_to_prodboolean

Indicates whether the attribute is auto-synced to production

Example:true
descriptionstring

The description of the attribute

Example:"This is a sample attribute"
vms_visibleboolean

Indicates whether the attribute is visible in VMS

Example:false
vms_editableboolean

Indicates whether the attribute is editable in VMS

Example:false
store_filterboolean

Indicates whether the attribute is used for filtering in a store

Example:false
store_display_plpboolean

Indicates whether the attribute is displayed in the PLP (Product Listing Page)

Example:true
store_display_pdpboolean

Indicates whether the attribute is displayed in the PDP (Product Detail Page)

Example:true
store_compareboolean

Indicates whether the attribute is used for product comparison in a store

Example:false
tagsArray of strings

Tags associated with the attribute

Example:
[ "tag1", "tag2" ]
is_globalboolean

Indicates whether the attribute is a global attribute

is_agenticboolean

Indicates whether the attribute was created by an AI agent

created_bystring

The ID of the user who created the attribute

typestring

The type of the attribute

Enum:"Short Text""Paragraph""Date""HTML""Number""Decimal""List""Boolean""URL""Media"
Example:"Short Text"
mandatoryboolean

Indicates whether the attribute is mandatory

Example:true
jsonatastring

The JSONata expression associated with the attribute

Example:"payload.key"
limitnumber

The limit associated with the attribute (specific to some types)

Example:10
formattingstring

The formatting type (specific to some types)

Enum:"None""Uppercase""Lowercase"
Example:"None"
maxnumber

The maximum value (specific to some types)

minnumber

The minimum value (specific to some types)

allow_multipleboolean

Indicates whether multiple values are allowed (specific to some types)

max_sizenumber

The maximum size (specific to some types)

allowed_extensionsArray of strings

Allowed file extensions (specific to some types)

media_typestring

The media type (specific to some types)

aspect_ratiostring

Aspect ratio (specific to some types)

Enum:"3:4""4:3""1:1""16:9""9:16"
heightnumber

Height (specific to some types)

widthnumber

Width (specific to some types)

proportion_restrictionboolean

Indicates whether proportion restriction is applied (specific to some types)

constraintsstring

Constraints type (specific to some types)

Enum:"aspect_ratio""dimension"
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" }