# CreateLocationInput

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/inputs/create-location-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 CreateLocationInput {
  name: String!
  isVirtual: Boolean
  capacity: Int
  category: String
  boothOfExhibitors: [ID!]
  clientId: String
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>CreateLocationInput.<b>name</b></code>](#)<Bullet />[`String!`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CreateLocationInput.<b>isVirtual</b></code>](#)<Bullet />[`Boolean`](/organizer/content-api/graphql-event-api-schema/scalars/boolean) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CreateLocationInput.<b>capacity</b></code>](#)<Bullet />[`Int`](/organizer/content-api/graphql-event-api-schema/scalars/int) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CreateLocationInput.<b>category</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CreateLocationInput.<b>boothOfExhibitors</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"/> 
> 
> 
> Set the new location as a booth for these exhibitors
> 

#### [<code style={{ fontWeight: 'normal' }}>CreateLocationInput.<b>clientId</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

### Member Of

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