This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves an inventory item.
function getInventoryItem(inventoryItemId: string): Promise<InventoryItem>;
Inventory item ID.
import { inventoryItemsV3 } from "@wix/stores";
async function getInventoryItem(inventoryItemId) {
const response = await inventoryItemsV3.getInventoryItem(inventoryItemId);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.