# setPartySeats

Item-only — set a party's seat count.

Canonical: https://chart.syidax.com/docs/methods/setPartySeats/

<a id="definition"></a>

## Definition

```typescript
setPartySeats(idOrIndex: string | number, value: number): Promise<boolean>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | Required |
| `value` | `number` | Required |

Return type: `Promise<boolean>`. Call the method after element registration and await its Promise result.

<a id="related"></a>

## Related charts

- [sy-item-chart](https://chart.syidax.com/docs/components/item.md#method-setPartySeats)
