Rebuild a Commerce search index using Postman

Abstract

Lists and describes the Postman API samples you can use to rebuild Commerce search indexes.

There are situations where you need to manually trigger a rebuild of Commerce search indexes, for example, after you import Commerce catalog data, when you have new or changed Commerce content to re-index, or when indexes are out of date or have been corrupted. The Commerce Engine uses indexing minions to index Commerce entities. You can use Postman API sample requests to manually trigger indexing minions for rebuilding Commerce indexes.

To rebuild a Commerce index using Postman, for example to perform a full rebuild of the orders search index:

  1. In the Postman Collections pane, expand the SitecoreCommerce_DevOps collection. 

  2. Open the Minions folder, and execute the Run FullIndex Minion - Orders request.

Postman sample requests for rebuilding Commerce indexes

The DevOps collection In Postman contains the following sample API requests that you can use to rebuild Commerce search indexes:

Postman API request

Usage

Run FullIndex Minion - Orders

Use to perform a complete rebuild of the orders search index. The Business Tools orders search capability uses this index.

Run IncrementalIndex Minion - Orders

Use to trigger an incremental update of the orders search index, to index new or changed orders. The Business Tools orders search capability uses this index.

Run FullIndex Minion - Customers

Use to perform a complete rebuild of the customers search index. The Business Tools customers search capability uses this index.

Run IncrementalIndex Minion - Customers

Use to trigger an incremental update of the customers search index, to index new or changed customers. The Business Tools customers search capability uses this index.

Run FullIndex Minion - Catalog Items

Use to perform a complete rebuild of the catalog items (catalogs, categories and sellable items) search index. The Business Tools search capability uses this index.

Run IncrementalIndex Minion - Catalog Items

Use to trigger an incremental update of the catalog items (catalogs, categories and sellable items) search index, to index new or changed catalog items. The Business Tools search capability uses this index.