Purge deleted categories from the database
By default, the Purge Categories minion runs as a maintenance process, purging any deleted categories from the database at a regular interval. By default, the minion runs every 5 minutes. You can trigger minion to run manually using the sample Run Purge Categories Minion
request in Postman.
Using Postman with Sitecore XC
The following instructions assume that you have installed the Postman application, imported the sample collections from the Sitecore Commerce Engine SDK, configured your environment, and retrieved a bearer token to access the Commerce Engine API, as described here.
When you place a call to the Commerce Engine API from outside the Commerce Business Tools (for example, using Postman), you must disable the anti-forgery protection setting in the wwwroot\config.json
file.
To purge deleted categories from the database using Postman:
-
In the Collections pane, expand the SitecoreCommerce_DevOps collection.
-
Open the Minions folder, and execute the
Run Purge Categories Minion
request.