---
displayed_sidebar: productReference
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# FilterableProductVariantProps

The filters to apply on retrieved product variants.

<ParameterTypes parameters={[
  {
    "name": "$and",
    "type": "([FilterableProductVariantProps](product.FilterableProductVariantProps.mdx) \\| [BaseFilterable](product.BaseFilterable.mdx)&#60;[FilterableProductVariantProps](product.FilterableProductVariantProps.mdx)&#62;)[]",
    "description": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "$or",
    "type": "([FilterableProductVariantProps](product.FilterableProductVariantProps.mdx) \\| [BaseFilterable](product.BaseFilterable.mdx)&#60;[FilterableProductVariantProps](product.FilterableProductVariantProps.mdx)&#62;)[]",
    "description": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "id",
    "type": "`string` \\| `string`[]",
    "description": "The IDs to filter product variants by.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "options",
    "type": "`object`",
    "description": "Filter product variants by their associated options.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "id",
        "type": "`string`[]",
        "description": "IDs to filter options by.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  },
  {
    "name": "options.id",
    "type": "`string`[]",
    "description": "IDs to filter options by.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "product_id",
    "type": "`string` \\| `string`[]",
    "description": "Filter the product variants by their associated products' IDs.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "sku",
    "type": "`string` \\| `string`[]",
    "description": "The SKUs to filter product variants by.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
