---
title: "Catalog commands and pipelines"
slug: "catalog-commands-and-pipelines"
abstract: ""
---
# Catalog commands and pipelines

The following table describes the catalog commands and pipelines:

| **Command/Pipeline** | **Description** |
| --- | --- |
| `CreateCatalogCommand`<br><br>`CreateCatalogPipeline` | Creates a new instance of a catalog in the Commerce Engine.<br><br>Parameters:<br><br><ul><li>`catalogName`: internal name for the catalog</li><li>`catalogDisplayName`: display name for the catalog</li><li>`priceBookName`: name of the price book associated with the catalog</li><li>`promotionBookName`: name of the promotion book associated with the catalog</li></ul> |
| `EditCatalogCommand`<br><br>`EditCatalogPipeline` | Makes changes to an existing catalog.<br><br>Parameters:<br><br><ul><li>`entityId`: identifier for the catalog entity</li><li>`catalogDisplayName`: display name for the catalog</li><li>`priceBookName`: name of the price book associated with the catalog</li><li>`promotionBookName`: name of the promotion book associated with the catalog</li></ul> |
| `GetCatalogCommand`<br><br>`GetCatalogPipeline` | Retrieves a specific catalog defined in the system.<br><br>Parameters:<br><br><ul><li>`Id`: identifier of the catalog (string)</li></ul> |
| `GetCatalogsCommand`<br><br>`GetCatalogsPipeline` | Retrieves all catalogs defined in the system.<br><br>Parameters: none |
| `GetCatalogItemsCommand`<br><br>`GetCatalogItemsPipeline` | Retrieves all of the sellable items associated with the catalog. |
| `UpdateSellableItemPurchasableCommand` | Determines whether the sellable item is purchasable or not.<br><br><ul><li>`true` : the sellable item will be made purchasable and the `PurchasablePolicy`restriction will be removed</li><li>`false` : the sellable item cannot be purchased.</li></ul> |
| `InitializeRelationshipDefinitionsBlock` | Creates default relationship types to establish relationships between catalog entities (e.g. category to sellable item). |