---
title: "Inventory commands and pipelines"
slug: "inventory-commands-and-pipelines"
abstract: ""
---
# Inventory commands and pipelines

The following table describes the inventory commands and pipelines:

| **Command/Pipeline** | **Description** |
| --- | --- |
| `AssociateSellableItemToInventorySetCommand`<br><br>`AssociateSellableItemToInventorySetPipeline` | Associates a sellable item to a specified inventory set.<br><br>Parameters:<br><br><ul><li>`sellableItemId`: identifier of the sellable item</li><li>`variationId`: identifier of the sellable item variant</li><li>`inventorySetId`: identifier for the inventory set</li><li>`entityView`: entity view</li></ul> |
| `CreateInventorySetCommand`<br><br>`CreateInventorySetPipeline` | Creates a new instance of an inventory set.<br><br>Parameters:<br><br><ul><li>`name`: name of the inventory set</li><li>`displayName`: display name of the inventory set</li><li>`description`: description of the inventory set</li></ul> |
| `DisassociateSellableItemFromInventorySetCommand`<br><br>`DisassociateSellableItemFromInventorySetPipeline` | Removes the association between a sellable item and an inventory set.<br><br>Parameters:<br><br><ul><li>`sellableItemId`: identifier of the sellable item</li><li>`variationId`: identifier of the sellable item variant</li><li>`inventorySetId`: identifier for the inventory set</li></ul> |
| `EditInventoryInformationCommand`<br><br>`EditInventoryInformationPipeline` | Modifies the inventory information for a sellable item.<br><br>Parameters:<br><br><ul><li>`sellableItemId`: identifier of the sellable item</li><li>`variationId`: identifier of the sellable item variant</li><li>`inventorySetId`: identifier for the inventory set</li><li>`entityView`: entity view</li></ul> |
| `EditInventorySetCommand`<br><br>`EditInventorySetPipeline` | Modifies the information for a specific inventory set.<br><br>Parameters:<br><br><ul><li>`inventorySet`: name of the inventory set</li><li>`displayName`: new display name of the inventory set</li><li>`description`: new description of the inventory set</li></ul> |
| `GetInventorySetCommand` | Retrieves a specific inventory set.<br><br>Parameters:<br><br><ul><li>`inventorySetId`: identifier of the inventory set</li></ul> |
| `GetInventorySetsCommand` | Retrieves all inventory sets in the system.<br><br>Parameters: none |
| `TransferInventoryCommand`<br><br>`TransferInventoryPipeline` | Moves the association of a sellable item from one inventory set to another inventory set.<br><br>Parameters:<br><br><ul><li>`sourceInventorySetId`: identifier for the inventory set from which the sellable item is being moved</li><li>`targetInventorySetId`: identifier for the inventory set to which the sellable item is being moved</li><li>`sellableItemId`: identifier for the sellable item</li><li>`variationId`: identifier for the sellable item variant</li><li>`quantity`: the number of sellable items to move to the target inventory set</li></ul> |