# Customer attributes

The `customerAttributes` field is a free-form key-value map that the integrator can use
to attach metadata to a NOB request at creation time.

## Setting customerAttributes

`customerAttributes` is set in the request body when calling `POST /requests`:

```json
{
  "requestTypeId": "cccccccc-1111-2222-97b3-17a8ead78fb7",
  "customerAttributes": {
    "customerId": "123456",
    "productCode": "SPID_LONG_TERM",
    "referenceContract": "CT-2026-001"
  }
}
```

## Limits

| Constraint | Value |
|  --- | --- |
| Maximum number of keys | 50 |
| Maximum key length | 128 characters |
| Maximum value length | 2048 characters |


## Reading customerAttributes

`customerAttributes` can be read at any time via `GET /request/{requestId}`,
regardless of the request status.

## Immutability

**`customerAttributes` cannot be modified after the request is created.**
They remain fixed for the entire lifecycle of the request, regardless of its status.

## Scope of Use

`customerAttributes` are intended as integrator-managed metadata. They are:

- Available to the integrator at any time via the request API
- Readable during Verdict processing to inform external decision logic


`customerAttributes` are **not** usable by NOB internally for workflow decisions,
automatic verdicts, or operator validation steps. They are also not available as template
tokens for Data Enrichment field pre-population.