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

# QueryScxChannelAttributeSellerValues

> Delivers the attribute values with an attribute code that an SCX seller stored on channel level, i.e. the values of seller attributes and channel attributes. Custom fields and values whose attribute code has no definition are not returned. The definition of an attribute code is looked up for the seller first, then for the channel; the first match determines "DefinitionScope" and the definition id. Unless a sort order is requested, the values are ordered by attribute code, reference group and ID. An invalid sales channel id is rejected as invalid (error code SALES_CHANNEL_ID_INVALID); an unknown, deleted or deactivated sales channel, one that is not an SCX seller, or an id whose channel part does not match the seller, is rejected as not found (error code SCX_SALES_CHANNEL_NOT_FOUND). A seller without values yields an empty page.



**query** `QueryScxChannelAttributeSellerValues(salesChannelId: String!, first: Int, after: String, last: Int, before: String, order: [ScxChannelAttributeSellerValueSortInput!]): QueryScxChannelAttributeSellerValuesConnection`

## Arguments

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

---

**`first`**: `Int`

Returns the first _n_ elements from the list.

---

**`after`**: `String`

Returns the elements in the list that come after the specified cursor.

---

**`last`**: `Int`

Returns the last _n_ elements from the list.

---

**`before`**: `String`

Returns the elements in the list that come before the specified cursor.

---

**`order`**: `[ScxChannelAttributeSellerValueSortInput!]`

## Returns

`QueryScxChannelAttributeSellerValuesConnection`

**`pageInfo`**: `PageInfo!`

Information to aid in pagination.

---

**`edges`**: `[QueryScxChannelAttributeSellerValuesEdge!]`

A list of edges.

---

**`nodes`**: `[ScxChannelAttributeSellerValue!]`

A flattened list of the nodes.

---

**`totalCount`**: `Int!`

Identifies the total count of items in the connection.

## Examples

```graphql Query
query QueryScxChannelAttributeSellerValues($salesChannelId: String!) {
  QueryScxChannelAttributeSellerValues(salesChannelId: $salesChannelId) {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
    edges {
      cursor
      node {
        attributeCode
        definitionScope
        value
        isTemplate
        referenceGroup
        fileId
      }
    }
    nodes {
      attributeCode
      definitionScope
      value
      isTemplate
      referenceGroup
      fileId
    }
    totalCount
  }
}
```

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

```json Response
{
  "data": {
    "QueryScxChannelAttributeSellerValues": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "string",
        "endCursor": "string"
      },
      "edges": [
        {
          "cursor": "string",
          "node": {
            "attributeCode": "string",
            "definitionScope": "SELLER",
            "value": "string",
            "isTemplate": true,
            "referenceGroup": 1,
            "fileId": "id"
          }
        }
      ],
      "nodes": [
        {
          "attributeCode": "string",
          "definitionScope": "SELLER",
          "value": "string",
          "isTemplate": true,
          "referenceGroup": 1,
          "fileId": "id"
        }
      ],
      "totalCount": 1
    }
  }
}
```
