Skip to main content
POST
Create a modular source with an avails-feed module

Authorizations

Authorization
string
header
required

API key or access token

Body

application/json

Creates a real seller modular inventory source backed by an uploaded/static avails feed module, the built-in booking ledger, and, by default, the provider-neutral manual execution workflow. Explicit upstream or no-execution modes remain non-secret setup metadata and return a non-bookable warning until a matching module exists.

name
string
required

Seller-facing inventory source name.

Required string length: 1 - 255
sourceId
string

Stable source identifier; generated from name when omitted.

Required string length: 1 - 255
Pattern: ^[a-z0-9][a-z0-9_-]*$
includeBookingLedger
boolean
default:true

Whether to include the built-in reservation ledger.

availsSource
object

Availability-feed setup metadata.

booking
object

Booking and reservation setup metadata.

execution
object

Booking execution setup. Omission defaults to the provider-neutral manual execution workflow.

reporting
object

Delivery reporting setup metadata.

creative
object

Creative synchronization setup metadata.

notes
string

Additional modular-source setup notes.

Required string length: 1 - 2000

Response

Create a modular source with an avails-feed module

inventorySourceId
string
required
sourceId
string
required
projection
object
required

Operator-facing setup-state projection for a modular inventory source.

warnings
object[]

Warnings that explain why the created source cannot yet finalize buyer bookings.