FilterableProductVariantProps
The filters to apply on retrieved product variants.
An array of filters to apply on the entity, where each item in the array is joined with an "and" condition.
An array of filters to apply on the entity, where each item in the array is joined with an "or" condition.
q
stringSearch through the title and different code attributes on the variant
id
string | string[]The IDs to filter product variants by.
sku
string | string[]The SKUs to filter product variants by.
product_id
string | string[]Filter the product variants by their associated products' IDs.
options
Record<string, string>Filter product variants by their associated options.
Was this section helpful?