Skip to main content
PATCH
Update a ticket type

授权

Authorization
string
header
必填

The API key's secret (osk_…), shown once when the key is created in the console.

路径参数

eventId
string
必填
typeId
string
必填

请求体

application/json
name
string
Required string length: 1 - 200
description
string | null
Maximum string length: 2000
capacity
integer | null
必填范围: 1 <= x <= 1000000
allowWaitlist
boolean
isPublic
boolean
requiresApproval
boolean
opensAt
string<date-time> | null
closesAt
string<date-time> | null
priceAmount
integer
必填范围: 0 <= x <= 100000000
status
enum<string>
可用选项:
draft,
open,
closed,
archived
sortOrder
integer
必填范围: 0 <= x <= 10000

响应

The updated ticket type.

id
string
必填
eventId
string
必填
name
string
必填
description
string | null
必填
capacity
integer | null
必填
allowWaitlist
boolean
必填
isPublic
boolean
必填
requiresApproval
boolean
必填
status
enum<string>
必填
可用选项:
draft,
open,
closed,
archived
opensAt
string | null
必填
closesAt
string | null
必填
priceAmount
integer
必填
sortOrder
integer
必填
counts
object
必填
createdAt
string
必填