Commerce Management Webstore Search, Searchable Attributes

Get and update searchable attributes.
Resource
1/commerce/management/webstores/webstoreId/search/attribute-settings/searchable-fields
Available version
49.0
HTTP methods
GET, PATCH
Request body for PATCH
JSON example
1{
2  "searchableAttributeSettings": [
3    {
4      "nameOrId": "Name",
5      "type": "Standard",
6      "isSearchable": true,
7      "weight": 8
8    },
9    {
10      "nameOrId": "Description",
11      "type": "Standard",
12      "isSearchable": true,
13      "weight": 3
14    },
15    {
16      "nameOrId": "StockKeepingUnit",
17      "type": "Standard",
18      "isSearchable": true,
19      "weight": 6
20    }
21  ]
22}
Properties
Name Type Description Required or Optional Available Version
searchable​Attribute​Settings Searchable Attribute Input[] Collection of up to 25 searchable attributes. Required 49.0
Response body for GET and PATCH
Searchable Attributes Collection