Home > @infiniteobjects/shopify-service > ShopifyService > getVariantsByProductId
Gets the variants of a product by its ID
Signature:
getVariantsByProductId(id: string): Promise<IVariant[]>;
Parameter | Type | Description |
---|---|---|
id | string |
Returns:
Promise<IVariant[]>