latestOpenAPI 3.0.32026-08-1968196306.2 KB

cf02c9310c0f

erp-imports

createErpImport

Register an already-uploaded file (S3 ref) as a pricing-file import job. Returns the job and a file preview. Nothing runs yet: no use case is chosen and no validation starts here. Optionally rank candidates with POST /v2/erp/imports/{importId}:suggest-use-cases, then start validation with POST /v2/erp/imports/{importId}:validate.

post/v2/erp/imports

Request body

include_previewboolean

Return a sample of the file's first rows in preview. Only controls whether the sample comes BACK — the head is read either way, because that read is how an unreadable file gets refused.

Response

Import job created