---
title: "Attaches a tax identifier to a customer"
method: POST
path: "/customers/{id}/tax-identifiers/{taxId}"
tags: ["Customers"]
---

# Attaches a tax identifier to a customer

`POST /customers/{id}/tax-identifiers/{taxId}`

Attaches a tax identifier to a customer

## Path parameters

- `id` string, required
- `taxId` string, uuid, required

## Response `200`

200 OK

- TaxIdentifier
  - `id` string — The identifier of the tax identifier.
  - `createdTime` string, date-time — The time when the tax identifier was created.
  - `customerId` string, nullable — The identifier of an existing customer.
  - `type` string — Type of tax identifier.
  - `value` string — The tax identifier.
  - `state` 'pending' | 'not_valid' | 'verified' — The verification state.
  - `stateTransitions` TaxIdentifierStateTransitions, nullable — A timestamp of when the state was updated.
    - `pending` string, date-time, nullable
    - `verified` string, date-time, nullable
    - `not_valid` string, date-time, nullable
  - `verifiedName` string, nullable — The registered name of the customer with this tax identifier.
  - `verifiedAddress` string, nullable — The registered address of the customer with this tax identifier.
  - `updatedTime` string, date-time — The time when the tax identifier was updated.

## Other responses

- `400` — 400 Bad Request
- `401` — 401 Unauthorized
- `403` — 403 Forbidden
- `404` — 401 Not Found
- `405` — 405 Method Not Allowed
- `406` — 406 Not Acceptable
- `408` — 408 Request Timeout
- `409` — 409 Conflict
- `429` — 429 Too Many Requests
- `500` — 500 Internal Server Error
- `502` — 502 Bad Gateway Error
- `503` — 503 Service Unavailable Error
- `504` — 504 Gateway Timeout Error

---

[API](https://skmtc.net/digitalriver/apis/digital-river-api-reference.md) · [All operations](https://skmtc.net/digitalriver/apis/digital-river-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/digital-river-api-reference/revisions/f21981db32be/schema)
