---
title: "View customer relationship"
method: GET
path: "/v1/CustomerRelationships/{id}"
tags: ["CustomerRelationships"]
---

# View customer relationship

`GET /v1/CustomerRelationships/{id}`

Find a single customer relationship by ID.

## Path parameters

- `id` integer, required

## Response `200`

OK

- RevWebAPIModelsGetOrSearchOfRevAppModelsCustomerRelationship
  - `ok` boolean
  - `customer_relationship_id` integer — Primary identifier for this customer relationship.
  - `customer_id` integer, required — Primary customer that has a relationship with another customer.
  - `related_customer_id` integer, required — Customer that is related to the primary customer.
  - `customer_relationship_type_id` integer, required — Foreign identifier for the type of relationship between the two customers.
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Other responses

- `404` — NotFound
- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/revisions/135571434f6c/schema)
