---
title: "Insert Bulk Customer Extensions"
method: POST
path: "/loaddata/CX"
tags: ["Customer Extensions"]
---

# Insert Bulk Customer Extensions

`POST /loaddata/CX`

Inserts multiple customers extensions to the Master Data table.<p>
The `name` (a name of the category) and `customerId` must be provided for each record in the header and data object within the request body.

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**).<p>
<!-- theme: warning -->
>**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.

## Request body

- object
  - `data` object, required
    - `data` unknown[], required — Specify the field values in the same order as specified in the header object.
      - unknown
    - `header` unknown[], required — efine field names (table columns) of the record.
      - unknown
    - `options` object
      - `detectJoinFields` boolean
      - `joinFields` string[] — A list of fields (that also need to appear in the header and data) that make up the business key

## Response `200`

Returns the number of inserted or updated objects.

- object
  - `response` object
    - `node` string
    - `data` unknown[]
      - unknown
    - `status` number

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
