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

# GetShopAccountById

> Delivers the base data of a single JTL-Wawi-managed online shop by its sales channel id. Returns the same shape as "GET /v2/sales-channels/shop/accounts" or "QueryShopAccounts", scoped to one shop.



**query** `GetShopAccountById(salesChannelId: String!): ShopAccount!`

## Arguments

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

## Returns

`ShopAccount!`

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

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

---

**`name`**: `String`

Name of the shop.

---

**`url`**: `String`

URL of the shop.

---

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

Shop is active.

---

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

Shop is locked.

---

**`companyId`**: `ID`

ID of the company the shop belongs to.

---

**`rootCategoryId`**: `ID`

ID of the shop's root category.

---

**`orderAsOffer`**: `Boolean!`

Orders imported from this shop are created as offers rather than as sales orders.

---

**`useShopOrderNumber`**: `Boolean!`

The shop's own order number is used instead of a JTL-Wawi-generated one.

## Examples

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

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

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