stack

Home > @infiniteobjects/shopify-service > ShopifyService > getVariantsByProductId

ShopifyService.getVariantsByProductId() method

Gets the variants of a product by its ID

Signature:

getVariantsByProductId(id: string): Promise<IVariant[]>;

Parameters

Parameter Type Description
id string  

Returns:

Promise<IVariant[]>