Skip to main content
POST
Reprocess Corrected Rows
← Imports A submitted import may not save some rows: rows left out at validation (ignore_errors: true), rows the import could not save, or rows saved whose calculation failed. Get rows marks them (stage: processing), and correctable: true says a row can still be fixed. Correct its cells with Correct rows, as before the submit; the row reads reprocess: "pending". This endpoint then saves the corrected rows with no errors left, without uploading the file again. The rows go as an import of their own, which keeps their row numbers: Get rows of the original import follows them (reprocess: "running", then saved or marked with their new reason). A row that left a record saved with an error (a purchase whose calculation failed) has that record replaced, so it is saved once; if that record is no longer in error (recalculated since), the row is saved already and is not sent again. Calling it twice sends the rows once: the second call answers 400 IMPORT_NOTHING_TO_REPROCESS. If the rows could not be sent, they wait again (reprocess: "pending") and a new call sends them.

Request

Headers

string
required
Your API key for authentication
string
required
Your organization UUID
string
required
Partner identifier for the submitting applicationExample: dcycle

Path Parameters

string
required
UUID of the submitted import session whose corrected rows to save

Response

string
UUID of the import that saves the corrected rows
string | null
UUID of its processing job
integer
Number of corrected rows sent to be saved

Example

cURL

Common Errors

400 Bad Request

Cause: The import was not submitted.
Cause: No corrected row is ready: none was corrected, or the corrected ones still have errors.

404 Not Found

Cause: The import session does not exist or belongs to another organization.

409 Conflict

Cause: A row left a record in error the template cannot replace.