Skip to main content

BulkImportInput

An import file and its options.

input BulkImportInput {
customerId: String
fileContent: String!
format: ImportFormat!
supplierId: String
updateExisting: Boolean
validateOnly: Boolean
}

Fields​

BulkImportInput.customerId ● String scalar​

Optional: a customer to associate the imported rows with.

BulkImportInput.fileContent ● String! non-null scalar​

The import file, base64-encoded.

BulkImportInput.format ● ImportFormat! non-null enum​

File format: CSV or EXCEL.

BulkImportInput.supplierId ● String scalar​

Optional: a supplier to associate the imported rows with.

BulkImportInput.updateExisting ● Boolean scalar​

When true, rows that match an existing record update it. Defaults to false.

BulkImportInput.validateOnly ● Boolean scalar​

When true (the default) the file is only checked and nothing is created or changed.

Member Of​

bulkImportPurchaseOrders mutation ● bulkImportSalesOrders mutation ● bulkImportTaxGroups mutation