/bff/import/analyze
Accepts a CSV/JSON file upload or a remote URL, parses the content, detects columns, and creates an import job in "ready" status. For the Shoptet provider, Czech column names are automatically mapped to English equivalents. Returns a preview of the first 10 rows.
ImportpostBffImportAnalyze
Parameters
5 body
Body · 5
providerstringImport provider ("shoptet" or "manual"). Default: "manual".
dataTypestringType of entity being imported (e.g. "product", "contact").
sourceTypestringSource type ("file" or "url"). Default: "file".
filestringCSV/JSON file upload (required when sourceType="file").
Format:
binaryDefault:
FileurlstringRemote feed URL (required when sourceType="url").
Request
POST /bff/import/analyze
curl -X POST "https://api.bizkithub.com/bff/import/analyze" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"provider": "example_provider",
"dataType": "example_dataType",
"sourceType": "example_sourceType",
"file": "File",
"url": "example_url"
}'Response
Analysis result with preview data and import job reference.
{
"success": false,
"importId": "example_importId",
"totalRows": 0,
"columns": [
"string"
],
"preview": [],
"errors": [
"string"
]
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.