Skip to main content

Create inventory

POST/inventory
Create a new inventory bucket for tracking capacity

Request Body

sourceType*"event_occurrence_area" | "product"Type of inventory source
eventIdstringEvent ID (required for event_occurrence_area)
eventOccurrenceIdstringEvent occurrence ID (required for event_occurrence_area)
eventLayoutAreaIdstringEvent layout area ID (required for event_occurrence_area)
productIdstringProduct ID (required for product)
totalCapacity*integerTotal capacity for this inventory
isAllocatedbooleanWhether this inventory has allocated seating
metadataobjectAdditional metadata
accountId*stringAccount ID for the inventory

Response

Inventory created successfully

Code Samples
No code examples available for this operation.

Try It

Request Body
Type of inventory source
Event ID (required for event_occurrence_area)
Event occurrence ID (required for event_occurrence_area)
Event layout area ID (required for event_occurrence_area)
Product ID (required for product)
Total capacity for this inventory
Whether this inventory has allocated seating
Additional metadata
Account ID for the inventory