> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetConnectorAccountById

> Delivers a single connector account by its sales channel id.



**query** `GetConnectorAccountById(salesChannelId: String!): ConnectorAccount!`

## Arguments

**`salesChannelId`**: `String!` (required)

## Returns

`ConnectorAccount!`

**`salesChannelId`**: `String!`

Sales channel id of this connector account. Opaque, tenant-local composite identifier (not a UUID); use this value to address the account in follow-up calls.

---

**`name`**: `String`

Name of the connector account.

---

**`url`**: `String`

URL of the connector endpoint.

---

**`isActive`**: `Boolean!`

Connector account is active.

---

**`isLocked`**: `Boolean!`

Connector account is locked.

---

**`companyId`**: `ID`

ID of the company the connector account belongs to.

## Examples

```graphql Query
query GetConnectorAccountById($salesChannelId: String!) {
  GetConnectorAccountById(salesChannelId: $salesChannelId) {
    salesChannelId
    name
    url
    isActive
    isLocked
    companyId
  }
}
```

```json Variables
{
  "salesChannelId": "string"
}
```

```json Response
{
  "data": {
    "GetConnectorAccountById": {
      "salesChannelId": "string",
      "name": "string",
      "url": "string",
      "isActive": true,
      "isLocked": true,
      "companyId": "id"
    }
  }
}
```
