erp-imports

getErpImportPreview

Changed on

The file preview of an existing import: its columns and first data rows, the same sample createErpImport returns with include_preview. Lets a client that opens a job later show its file, and is independent of GET /v2/erp/imports/{importId}, so the two can be fetched in parallel. Read fresh from the import's file on every call. CSV only — an xlsx import returns 400.

get/v2/erp/imports/{importId}/preview

Request

  • Base URL
    https://integration-toolkit.sls.epilot.io
  • URL
    https://integration-toolkit.sls.epilot.io/v2/erp/imports/{importId}/preview
  • Auth
    HTTP bearer

Path parameters

importIdstring required

Response

The file preview

columnsstring[] required

Effective column names (trimmed, duplicates collapsed).

Changes