DocsAPI ReferenceImport/bff/import/analyze
postImportAdmin BFF

/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

5 total
Body · 5
providerstring

Import provider ("shoptet" or "manual"). Default: "manual".

dataTypestring

Type of entity being imported (e.g. "product", "contact").

sourceTypestring

Source type ("file" or "url"). Default: "file".

filestring

CSV/JSON file upload (required when sourceType="file").

Format: binary
Default: File
urlstring

Remote feed URL (required when sourceType="url").

Request

POST /bff/import/analyze

post
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.

Get API Key