getStoreVariant( )


Retrieves a store variant with the provided ID.

Method Declaration
Copy
Method Parameters
_idstringRequired

Store variant ID. Comprised of the productId and the variantId, separated by a hyphen. For example, {productId}-{variantId}.

Returns
Return Type:Promise<GetStoreVariantResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?