Home > widget-integration > BackInStockService > getVariantById
BackInStockService.getVariantById() method
Signature:
getVariantById(variantId: string | number): BackInStockVariant | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
variantId |
string | number |
Returns:
BackInStockVariant | null