> ## 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.

# GetCompanyById

> Delivers a single company



**query** `GetCompanyById(companyId: ID!): CompanyDetailsItem!`

## Arguments

**`companyId`**: `ID!` (required)

## Returns

`CompanyDetailsItem!`

**`id`**: `ID!`

Unique ID to identify a company.

---

**`companyName`**: `String`

Name of the company.

---

**`owner`**: `String`

Owner of the company.

---

**`street`**: `String`

Street address of the company.

---

**`postalCode`**: `String`

Postal code of the company.

---

**`city`**: `String`

City of the company.

---

**`country`**: `String`

Country of the company.

---

**`countryIsoCode`**: `String`

Country ISO code.

---

**`phone`**: `String`

Phone number of the company.

---

**`fax`**: `String`

Fax number of the company.

---

**`emailAddress`**: `String`

Email address of the company.

---

**`website`**: `String`

Website of the company.

---

**`bankCode`**: `String`

Bank code.

---

**`accountNumber`**: `String`

Bank account number.

---

**`bankName`**: `String`

Name of the bank.

---

**`taxId`**: `String`

Tax identification number.

---

**`iban`**: `String`

International Bank Account Number.

---

**`bic`**: `String`

Bank Identifier Code.

---

**`accountHolder`**: `String`

Bank account holder name.

---

**`creditorId`**: `String`

Creditor identification number.

---

**`payPalEmailAddress`**: `String`

PayPal email address of the company.

---

**`isSmallBusinessOwner`**: `Boolean!`

Indicates if the company is a small business owner.

---

**`dhlIntrashipCustomerId`**: `String`

DHL Intraship customer Id for shipping.

---

**`upsCustomerId`**: `String`

UPS customer Id for shipping.

---

**`companyVatIdentifiers`**: `[CompanyVatIdDetailsItem!]!`

List of company vat ids.

## Examples

```graphql Query
query GetCompanyById($companyId: ID!) {
  GetCompanyById(companyId: $companyId) {
    id
    companyName
    owner
    street
    postalCode
    city
  }
}
```

```json Variables
{
  "companyId": "id"
}
```

```json Response
{
  "data": {
    "GetCompanyById": {
      "id": "id",
      "companyName": "string",
      "owner": "string",
      "street": "string",
      "postalCode": "string",
      "city": "string"
    }
  }
}
```
