Home > widget-integration > CombinedProductListingsService > getVariantByIdFromProduct
CombinedProductListingsService.getVariantByIdFromProduct() method
Signature:
getVariantByIdFromProduct(productId: string | number, variantId: string | number): Promise<PreOrderVariant | null>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
productId |
string | number | |
|
variantId |
string | number |
Returns:
Promise<PreOrderVariant | null>