# ProductFilterInput

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/inputs/product-filter-input


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

No description

```graphql
input ProductFilterInput {
  OR: [ProductFilterInput!]
  AND: [ProductFilterInput!]
  categoryIds: [ID!]
  parentCategoryIds: [ID!]
  exhibitorIds: [ID!]
  isLinkedToExhibitors: Boolean
  externalObjectIds: [ID!]
  ids: [ID!]
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>OR</b></code>](#)<Bullet />[`[ProductFilterInput!]`](/organizer/content-api/graphql-event-api-schema/inputs/product-filter-input) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>AND</b></code>](#)<Bullet />[`[ProductFilterInput!]`](/organizer/content-api/graphql-event-api-schema/inputs/product-filter-input) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>categoryIds</b></code>](#)<Bullet />[`[ID!]`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Filter products that belong to one of these categories.
> 

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>parentCategoryIds</b></code>](#)<Bullet />[`[ID!]`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Filter products that belong to one of these categories or its child categories.
> 

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>exhibitorIds</b></code>](#)<Bullet />[`[ID!]`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Filter products linked to one of these exhibitors.
> 

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>isLinkedToExhibitors</b></code>](#)<Bullet />[`Boolean`](/organizer/content-api/graphql-event-api-schema/scalars/boolean) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> If true, filter products that are linked to exhibitor(s), otherwise filter products that are not linked to any exhibitor.
> 

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>externalObjectIds</b></code>](#)<Bullet />[`[ID!]`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Filter products that are synchronized with an external object.
> 

#### [<code style={{ fontWeight: 'normal' }}>ProductFilterInput.<b>ids</b></code>](#)<Bullet />[`[ID!]`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="list"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Filter products by their ids
> 

### Member Of

[`ProductFilterInput`](/organizer/content-api/graphql-event-api-schema/inputs/product-filter-input)  <Badge class="badge badge--secondary" text="input"/>
