Preview a feed revision (HITL)
Parse and catalog-resolve an inventory feed payload to produce a PREVIEW revision and a signed baseline token. Both static-avails-feed:v1 (JSON rows) and wholesale-avails-pricing:v1 are supported. Pass the returned revision and previewBaseline to POST /feed/commit to commit it.
Authorizations
API key or access token
Path Parameters
Inventory source ID
1Body
Request body for POST /inventory-sources/:sourceId/feed/preview.
Feed contract identifier. static-avails-feed:v1 for static avails CSV/JSON; wholesale-avails-pricing:v1 for wholesale pricing grids.
static-avails-feed:v1, wholesale-avails-pricing:v1 JSON rows — provide exactly one of rawRows, csvText, or jsonText.
1CSV text — provide exactly one of rawRows, csvText, or jsonText.
1 - 2000000JSON text — provide exactly one of rawRows, csvText, or jsonText.
1 - 2000000Deterministic replay idempotency key (UUID). Provide only together with revisionId and observedAt; omit all three fields for server-generated, non-retryable convenience values.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Deterministic replay revision id (UUID). Provide only together with idempotencyKey and observedAt; omit all three fields for server-generated, non-retryable convenience values.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ISO-8601 observation timestamp for deterministic replay. Provide only together with idempotencyKey and revisionId; omit all three fields to default to the current time.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Response
Preview a feed revision (HITL)
Response from POST /feed/preview and POST /feed/upload. Pass previewBaseline and revision to POST /feed/commit.
Canonical inventory feed id shared by all transports (HITL, API_PUSH) for this source and contract.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$External source_id string for this feed.
Inventory feed revision envelope returned by preview, upload, commit, and push endpoints. Matches the InventoryFeedRevisionSchema contract.
Signed preview baseline. Pass it back unchanged to POST /feed/commit.