# setPartySeats

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

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

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

## 정의

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

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `value` | `number` | 필수 |

반환 타입: `Promise<boolean>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

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

## 관련 차트

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