import { SeatAssign } from "@polar-sh/sdk/models/components/seatassign.js";
let value: SeatAssign = {};| Field | Type | Required | Description |
|---|---|---|---|
subscriptionId |
string | ➖ | Subscription ID. Required if neither order_id nor checkout_id is provided. |
orderId |
string | ➖ | Order ID for one-time purchases. Required if subscription_id is not provided. |
email |
string | ➖ | Email of the customer to assign the seat to |
externalCustomerId |
string | ➖ | External customer ID for the seat assignment |
customerId |
string | ➖ | Customer ID for the seat assignment |
externalMemberId |
string | ➖ | External member ID for the seat assignment. Can be used alone (lookup existing member) or with email (create/validate member). |
memberId |
string | ➖ | Member ID for the seat assignment. |
metadata |
Record<string, any> | ➖ | Additional metadata for the seat (max 10 keys, 1KB total) |
immediateClaim |
boolean | ➖ | If true, the seat will be immediately claimed without sending an invitation email. API-only feature. |