inventoryUpdate
Update an existing inventory record's information.
Modifies inventory details including stock levels, location assignments, product associations, and availability status. Only provided fields will be updated, others remain unchanged.
Possible errors:
- INVENTORY_NOT_FOUND_ERROR: Inventory record with the specified ID does not exist
- INVENTORY_UPDATE_ERROR: Failed to update the inventory record
- FORBIDDEN: Insufficient permissions to update inventory records
AUTH: Role=[logistics.OWNER,logistics.EDITOR]
inventoryUpdate(
id: Int!
input: UpdateInventoryInput!
): InventoryResponse!
Arguments
inventoryUpdate.id ● Int! non-null scalar
Unique identifier of the inventory record to update.
Must be a positive integer representing a valid inventory ID in the system.
inventoryUpdate.input ● UpdateInventoryInput! non-null input
Updated inventory information.
Contains the inventory properties to update. Only provided fields will be changed, others remain unchanged.
Type
InventoryResponse object
Inventory information response with associated warehouse details.
Contains inventory data linked to a specific warehouse location. Used for inventory management, stock tracking, and warehouse-specific inventory operations.