Searchable Attribute

Searchable attribute.
JSON example
1{
2  "label": "Product Name",
3  "nameOrId": "Name",
4  "type": "Standard",
5  "weight": 8
6}
Property Name Type Description Filter Group and Version Available Version
label String Localized label of the attribute. Small, 49.0 49.0
nameOrId String Developer name of the attribute. Small, 49.0 49.0
type String Type of attribute. Values are:
  • Custom
  • ProductAttribute
  • ProductCategory
  • Standard
Small, 49.0 49.0
weight Integer Specifies the relative contribution of each searchable field to the relevance ranking of search results. Valid values: 1 (lowest)–10 (highest). Default to 1 if not specified or if set to null. Small, 67.0 67.0