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

# QueryScxCategoryAttributeSellerValues

> Delivers the attribute values with an attribute code that an SCX seller has stored for a channel category. Only attribute codes that the category defines with a supported field type are returned; custom fields and values whose attribute code has no definition are not returned. 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, or one that is not an SCX seller, is rejected as not found (error code SCX_SALES_CHANNEL_NOT_FOUND), as is a category that does not exist or belongs to another channel (error code SCX_CHANNEL_CATEGORY_NOT_FOUND). A category without values yields an empty page.



**query** `QueryScxCategoryAttributeSellerValues(salesChannelId: String!, channelCategoryId: ID!, first: Int, after: String, last: Int, before: String, order: [ScxCategoryAttributeSellerValueSortInput!]): QueryScxCategoryAttributeSellerValuesConnection`

## Arguments

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

---

**`channelCategoryId`**: `ID!` (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`**: `[ScxCategoryAttributeSellerValueSortInput!]`

## Returns

`QueryScxCategoryAttributeSellerValuesConnection`

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

Information to aid in pagination.

---

**`edges`**: `[QueryScxCategoryAttributeSellerValuesEdge!]`

A list of edges.

---

**`nodes`**: `[ScxCategoryAttributeSellerValue!]`

A flattened list of the nodes.

---

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

Identifies the total count of items in the connection.

## Examples

```graphql Query
query QueryScxCategoryAttributeSellerValues($salesChannelId: String!, $channelCategoryId: ID!) {
  QueryScxCategoryAttributeSellerValues(salesChannelId: $salesChannelId, channelCategoryId: $channelCategoryId) {
    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",
  "channelCategoryId": "id"
}
```

```json Response
{
  "data": {
    "QueryScxCategoryAttributeSellerValues": {
      "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
    }
  }
}
```
