> ## Documentation Index
> Fetch the complete documentation index at: https://docs.frontic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upsert Record

Create or replace a record in your data feed. If a record with the same source ID exists, it will be completely replaced with the new data.

## Path Parameters

**integration-id** `string` *required*

Your integration identifier. Found in the admin app under integration settings.

**feed-token** `string` *required*

Your Data Feed's token, which is the value in the feed's Ingest URL. The feed also has a separate `id`; the token is the one that belongs in the URL. Find it in the admin app under your feed settings.

## Request Body

**id** `string` *required*

The unique source ID for this record. Used to identify the record for future updates and deletes.

**...fields** `any`

Any additional fields for your record data. Structure depends on your data feed schema.

## Response

**correlation-id** `string` *required*

Unique identifier to track this data change through Frontic's processing pipeline. Provide this ID when contacting support about specific data changes.

```json Request Body theme={"theme":"css-variables"}
{
  "id": "product-123",
  "name": "Example Product",
  "price": 29.99,
  "category": "electronics",
  "stock": 150
}
```

```json 200 OK theme={"theme":"css-variables"}
{
  "correlation-id": "22c8f6f9-2a62-4e18-81a5-33c207dd967d"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.