---
title: "Link a subscription to a customer"
---

`POST /api/subscriptions/linktocustomer`

Associates an existing subscription with a customer record.

## Authorization

- **bearerAuth** (HTTP bearer): Opaque bearer token obtained from `POST /api/token` (password grant). Send as `Authorization: Bearer <token>`.

## Request body

Required. Content type: `application/json`.

## Responses

| Status | Description |
| --- | --- |
| `200` | Success. The business payload is returned in the `Data` field of the standard envelope. |
| `default` | Error. Note that many business errors are also returned as HTTP 200 with `Status: "ERROR"` in the envelope. |
