Skip to main content

Import an external file.

Coming soon
POST 

/partner/v1.0/organizations/:organizationId/imports

Import an external file.

Request​

Path Parameters

    organizationId stringrequired

    The ID of the organization

Body

    File binary

    The file for the import. The file must use JSON Lines format.

    RecordType ImportRecordType (string)

    Possible values: [Product, Purchase Orders, Product Assessment]

    ImportType ImportType (string)

    Possible values: [Create, Create And Update, Update]

Responses​

Accepted

Schema

    importId stringnullable

    Unique identifier for tracking the import.

    status ImportStatusType (string)

    Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]

    Status types for import jobs.

    totalRecords int32nullable

    Total number of records in the import.

    fileName stringnullable

    Name of the file being imported.

Loading...