Imports vendors into the caller's vendor directory from a raw CSV payload and reports aggregate counts plus a per-row outcome, scoped server-side to the caller's organization. Partial-failure semantics: the call succeeds even when some rows are rejected or skipped. Set dry_run to preview outcomes without persisting changes. Requires an Idempotency-Key header (enforced at the gateway); a replay with the same key returns the originally recorded results.
Body for BulkUpsertVendorsFromCsv: raw CSV text of vendors to upsert in the caller's directory. Organization scope is derived from the access token, not from this message.
Raw CSV text to import; column layout matches the vendor directory's curated writable fields (domain_name, company_name, and the other columns supported for the caller's organization). Required and non-empty.
- Mock serverhttps://docs.titanapi.securityscorecard.io/_mock/openapi.public/public/v1/vendors/bulk-import
curl -i -X POST \
https://docs.titanapi.securityscorecard.io/_mock/openapi.public/public/v1/vendors/bulk-import \
-H 'Content-Type: application/json' \
-d '{
"csv": "string",
"dryRun": true
}'{ "rowResults": [ { … } ], "summary": { "total": 0, "accepted": 0, "rejected": 0, "skipped": 0 } }