# Insert Bulk Products Inserts multiple products to the Master Data table. The /loaddata operation is a very efficient and quick way to insert bulk data to the Master Data table. The main advantage is its greater speed when loading thousands of records (compared to e.g. /integrate). Use the ISO 8601 date format (YYYY-MM-DD) if a date is included in the table. >Please note: > If no joinFields are provided in the request, then this operation will insert entire records. It means that in this case (without joinFields) with /loaddata it is not possible to update just some fields (for this use the /integrate endpoint instead). The source data must always contain the entire row’s content. Endpoint: POST /loaddata/P Security: basic, X-PriceFx-jwt ## Request fields (application/json): - `data` (object, required) - `data.header` (array, required) Specify header field names (table columns) of the record in the target table. - `data.options` (object) Specify options of the bulk data insertion. - `data.options.detectJoinFields` (boolean) Set to true to use join fields definitions from the server. Set to false to specify join fields with the joinFields parameter in the request. - `data.options.joinFields` (array) A list of fields (that also need to appear in header and data) that make up the business key. - `data.options.replaceSoftDeleted` (boolean) Set to true to replace records that are soft deleted in the target table and match the business key, instead of restoring them. The whole record is replaced with the data from the request, so values of fields that are not part of the request are not restored. This option can be used only when the load runs with join fields, that is when joinFields is specified or detectJoinFields is set to true. Otherwise the request fails with a validation error. It cannot be combined with the undelete option set to true, and it requires insertRows to stay enabled. - `data.options.undelete` (boolean) Controls what happens when a record matched by the business key is soft deleted in the target table. With the default true, the record is restored, which also brings back the values of the fields that are not part of the request. Set it to false to update the record and leave it deleted. This option applies only when the load runs with join fields. It cannot be set to true together with replaceSoftDeleted. - `data.options.replaceRows` (boolean) Set to false to leave records that already exist in the target table untouched. With the default true, existing records are updated with the data from the request. - `data.options.insertRows` (boolean) Set to false to skip records that do not exist in the target table yet, so that the load only updates the records that are already there. This option applies only when the load runs with join fields. replaceRows and insertRows cannot both be set to false. - `data.options.defaultFieldValues` (object) A map of field names and values used for fields that are not part of the request. Every loaded record gets these values in the listed fields. - `data.options.syncOnTargetTable` (boolean) Set to true to acquire a distributed lock on the target table before the load starts, so that parallel loads into the same table wait for each other instead of running at the same time. - `data.data` (array, required) Specify the field values in the same order as specified in the header object. ## Response 200 fields (application/json): - `response` (object) - `response.node` (string) - `response.data` (array) - `response.status` (number) ## Response 400 fields