---
title: "Issue IDs for product rows"
method: POST
path: "/v1/data-products/{id}/apply-id-rules"
tags: ["Data Products"]
---

# Issue IDs for product rows

`POST /v1/data-products/{id}/apply-id-rules`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/data-products/{id}/apply-id-rules`
- Auth: HTTP bearer

Issues unique IDs into result rows by the product's ID rules, or by the `rules` you send. Rows that already have an ID keep it. Requires `products:write`. The person behind the key must be an Admin of the workspace, and the workspace must manage its own configuration; otherwise the answer is 403 `insufficient_role`.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `rules` object[]
    - `target_field` string, required
    - `condition` 'empty' | 'always', required
    - `source_field` string, required
    - `format` string, required: Must contain `{value}` and `{seq:N}`.
    - `sequence_scope` 'per_value' | 'global'
    - `resolution_map` object
    - `unresolved_behavior` 'passthrough' | 'skip' | 'error'
    - `fallback_chain` object[]
    - `cross_product` boolean

## Response `200`

OK

- object

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/data-products/:id/apply-id-rules/post.md)

---

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