Newer Version Available
CommerceSearchSettings Class
Get indexes and create an index of a product catalog.
Namespace
CommerceSearchSettings Methods
These methods are for CommerceSearchSettings.
All methods are static.
createCommerceSearchIndex(webstoreId)
API Version
52.0
Requires Chatter
Yes
Signature
public static ConnectApi.CommerceSearchIndex postCommerceSearchIndex(String webstoreId)
Parameters
- webstoreId
- Type: String
- ID of the webstore.
Return Value
Usage
This method creates a live index that replaces the current live index. Any indexes that are in progress are removed when you manually create an index with this method.
getCommerceSearchIndex(webstoreId, indexId)
API Version
52.0
Requires Chatter
Yes
Signature
public static ConnectApi.CommerceSearchIndex getSingleCommerceSearchIndex(String webstoreId, String indexId)
Return Value
getCommerceSearchIndexes(webstoreId)
API Version
52.0
Requires Chatter
Yes
Signature
public static ConnectApi.CommerceSearchIndexCollection getCommerceSearchIndexes(String webstoreId)
Parameters
- webstoreId
- Type: String
- ID of the webstore.