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

# Update a Data Product

> Create or update a data product with a full request body

# Update a Data Product

Create a data product or update it if it already exists, using `PUT /v1/dataProducts` with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use `PATCH` with a JSON Patch array and the `application/json-patch+json` content type, as shown in the PATCH examples below.

## Body Parameters

**name** `string` *required*

Name of the data product. Must be unique across all data products.

**domains** `array` *required*

Fully qualified names of the parent domains, for example `["Marketing"]`.

**displayName** `string`

Human-readable display name for the data product.

**description** `string` *required*

Description of the data product in Markdown format.

**owners** `array`

Array of owner references (users or teams) to assign to the data product.

**properties**

**id** `string`

UUID of the owner entity.

**type** `string`

Type of owner entity, for example `user`, `team`.

**name** `string`

Name of the owner entity.

**experts** `array`

Array of user names, as strings, of the subject matter experts for this data product.

```bash PUT /v1/dataProducts theme={null}
curl -X PUT "{base_url}/api/v1/dataProducts" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "CustomerInsights",
    "domains": ["Marketing"],
    "description": "Curated customer analytics data product",
    "owners": [],
    "experts": []
  }'
```

```python PATCH /v1/dataProducts/{id} theme={null}
from metadata.sdk import configure
from metadata.sdk.entities import DataProducts

configure(
    host="https://your-company.open-metadata.org/api",
    jwt_token="your-jwt-token"
)

# Retrieve, modify, and update
dp = DataProducts.retrieve("b1839f98-f046-5f35-bdef-20f9b3395cb2")
dp.description = "Updated: Curated customer analytics with enriched profiles"
updated = DataProducts.update(dp)

print(f"Updated to version {updated.version.root}")
```

```java PATCH /v1/dataProducts/{id} theme={null}
// client is an initialized OpenMetadataClient.
var dataProductId = "b1839f98-f046-5f35-bdef-20f9b3395cb2";
var dataProduct = client.dataProducts().get(dataProductId);
dataProduct.setDescription("Updated: Curated customer analytics with enriched profiles");

var updated = client.dataProducts().update(dataProductId, dataProduct);
```

```bash PATCH /v1/dataProducts/{id} theme={null}
# Update by ID
curl -X PATCH "{base_url}/api/v1/dataProducts/b1839f98-f046-5f35-bdef-20f9b3395cb2" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json-patch+json" \
  -d '[
    {"op": "replace", "path": "/description", "value": "Updated: Curated customer analytics with enriched profiles"}
  ]'

# Update by name
curl -X PATCH "{base_url}/api/v1/dataProducts/name/CustomerInsights" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json-patch+json" \
  -d '[
    {"op": "replace", "path": "/description", "value": "Updated: Curated customer analytics with enriched profiles"}
  ]'
```

```json Response theme={null}
{
  "id": "b1839f98-f046-5f35-bdef-20f9b3395cb2",
  "name": "CustomerInsights",
  "fullyQualifiedName": "CustomerInsights",
  "displayName": "Customer Insights",
  "description": "Updated: Curated customer analytics with enriched profiles",
  "version": 0.2,
  "updatedAt": 1769984330261,
  "updatedBy": "admin",
  "href": "http://localhost:8585/api/v1/dataProducts/b1839f98-f046-5f35-bdef-20f9b3395cb2",
  "domains": [
    {
      "id": "a0729e98-e946-4e25-acde-10e8a2294ba1",
      "type": "domain",
      "name": "Marketing",
      "fullyQualifiedName": "Marketing",
      "deleted": false
    }
  ],
  "deleted": false,
  "owners": [],
  "experts": []
}
```

***

## Returns

Returns the updated data product object with the new version number.

## Response

**id** `string`

Unique identifier for the data product (UUID format).

**name** `string`

Data product name.

**fullyQualifiedName** `string`

Fully qualified name of the data product. This is the data product name.

**description** `string`

Updated description.

**version** `number`

Incremented version number.

***

## Error Handling

| Code | Error Type | Description |
| - | - | - |
| `400` | `BAD_REQUEST` | Invalid or malformed request body |
| `401` | `UNAUTHORIZED` | Invalid or missing authentication token |
| `403` | `FORBIDDEN` | User lacks permission to update this data product |
| `409` | `CONFLICT` | Concurrent modification detected |


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