Skip to main content

CapacityPoolCreateInput

Input for creating a capacity pool.

input CapacityPoolCreateInput {
name: String!
capacity: Int!
startsAt: DateTime
endsAt: DateTime
sellerId: ID
}

Fields​

CapacityPoolCreateInput.name ● String! non-null scalar​

Operator-facing label, e.g. "Main hall — Sat night".

CapacityPoolCreateInput.capacity ● Int! non-null scalar​

Total seats. 0 is legal and pauses sales.

CapacityPoolCreateInput.startsAt ● DateTime scalar​

Event window start; omit for unbounded.

CapacityPoolCreateInput.endsAt ● DateTime scalar​

Event window end; omit for unbounded.

CapacityPoolCreateInput.sellerId ● ID scalar​

Which seller owns the pool. Required for operators. Anyone else may name any seller they belong to (an app may name only its own seller); if omitted, the pool is created under their default seller.

Member Of​

capacityPoolCreate mutation

Was this page helpful?