import { SeatAssign } from "@polar-sh/sdk/models/components/seatassign.js";
let value: SeatAssign = {};| Field | Type | Required | Description |
|---|---|---|---|
subscriptionId |
string | ➖ | Subscription ID. Required if checkout_id and order_id are not provided. |
checkoutId |
string | ➖ | Checkout ID. Used to look up subscription or order from the checkout page. |
orderId |
string | ➖ | Order ID for one-time purchases. Required if subscription_id and checkout_id are 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. |