---
title: "Create data product in given domain"
method: POST
path: "/gdc/domains/{domainId}/dataproducts"
tags: ["lcm-dataproducts"]
---

# Create data product in given domain

`POST /gdc/domains/{domainId}/dataproducts`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/domains/{domainId}/dataproducts`
- Auth: none declared

## Path parameters

- `domainId` string, required

## Request body

- LcmDataProduct
  - `dataProduct` object, required
    - `id` string, required: Data product id.
    - `links` LcmDataProductLinks
      - `self` string, uri, required: Link to this data product.
      - `domain` string, uri, required: Link to domain where the user belongs to.
      - `segments` string, uri, required: Link to clients.
      - `clients` string, uri, required: Link to dataproduct.

## Response `201`

The data product is successfully created.

- LcmDataProduct
  - `dataProduct` object, required
    - `id` string, required: Data product id.
    - `links` LcmDataProductLinks
      - `self` string, uri, required: Link to this data product.
      - `domain` string, uri, required: Link to domain where the user belongs to.
      - `segments` string, uri, required: Link to clients.
      - `clients` string, uri, required: Link to dataproduct.

## Other responses

- `400`: The API call failed due to invalid parameters. Check the response for details.
- `403`: The API call failed because you are not a domain administrator in the domain.
- `404`: The API call failed because the object you requested does not exist.
- `default`: Common error

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
