Skip to main content

initializeInventory

Initialize inventory for a product at a location. This mutation should be used when a product is first added to a location, and it can be used only once for every product that is wanted to be initialized in the inventory. If the product is already initialized, this mutation will return an error.

initializeInventory(
input: InitializeInventoryInput!
): InventoryItem!

Arguments

initializeInventory.input ● InitializeInventoryInput! non-null input

Parameters for InitializeInventory

Type

InventoryItem object

An inventory item