Retrieves up to 100 store variants, given the provided paging, filtering, and sorting.
function queryStoreVariants(
query: PlatformQuery,
): Promise<QueryStoreVariantsResponse>;
Query options.
import { products } from "@wix/stores";
async function queryStoreVariants(query) {
const response = await products.queryStoreVariants(query);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.