Skip to main content
POST /api/v2/storefront/inventory-sources/modular/feed Creates a real MODULAR_SOURCE for sellers who manage availability through a spreadsheet, export, or manual feed rather than a live ad-server integration. The source is created with the built-in avails-feed module and, by default, the built-in booking ledger. This endpoint does not attach arbitrary execution, reporting, creative, or OMS adapters. Those details can be stored as non-secret setup metadata until a matching module exists.

Request

Parameters

Do not send secrets in this request. API keys, login credentials, private keys, and service-account files must use the appropriate credential flow for the module or ad-server connection.

Response

201 Created with the new source id and modular runtime projection:
After creating the source, upload or paste avails into POST /api/v2/storefront/inventory-sources/{sourceId}/modular/avails-feed. Preview normalized rows first, then commit only after confirming row grain and net sellable capacity.

Errors

  • 400 VALIDATION_ERROR — missing name or invalid sourceId.
  • 401 UNAUTHORIZED — missing or invalid API key.
  • 404 NOT_FOUND — the caller does not have a storefront.
  • 409 CONFLICT — another active source already uses the same sourceId.
See Errors for the full error contract.

Modular lifecycle

How feed, booking, HITL, and reporting stages fit together

Get modular readiness

Inspect modules and lifecycle status

Update module config

Update non-secret module setup

Inventory source tasks

All operations