Entity not found for Source:Entity-Catalog-MyCatalog, Target:Entity-SellableItem-MyProduct, Relationship type:CatalogToSellableItem
Entity not found for Source:Entity-Catalog-MyCatalog, Target:Entity-Category-MyCatalog-MyProduct, Relationship type:CatalogToCategoryI had been developing plugins and had changed/added and removed a number of different plugins extending various commerce entities. To resolve both error above I needed to make the following service calls via Postman:
- Clean Environement - {{OpsApiHost}}/{{OpsApi}}/CleanEnvironment()
- Bootstrap Sitecore Commerce - {{OpsApiHost}}/{{OpsApi}}/Bootstrap()
- Initialize Environment - {{OpsApiHost}}/{{OpsApi}}/InitializeEnvironment(environment='MyEnvironment')
These steps will often resolve most issues you encounter with Experience Commerce environments and their contained entities.
No comments:
Post a Comment