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

# QueryScxCategoryCustomAttributeValues

> Delivers the custom fields (values without attribute code) that an SCX seller has stored for a channel category. Several values with the same name are the values of one field. Unless a sort order is requested, the values are ordered by name and ID; a requested sort order replaces this order, and as the name is not unique, paging sorted by name can repeat or skip values. 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), as is a category that does not exist or belongs to another channel (error code SCX_CHANNEL_CATEGORY_NOT_FOUND). A category without custom fields yields an empty page.



**query** `QueryScxCategoryCustomAttributeValues(salesChannelId: String!, channelCategoryId: ID!, first: Int, after: String, last: Int, before: String, order: [ScxCategoryCustomAttributeValueSortInput!]): QueryScxCategoryCustomAttributeValuesConnection`

## 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`**: `[ScxCategoryCustomAttributeValueSortInput!]`

## Returns

`QueryScxCategoryCustomAttributeValuesConnection`

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

Information to aid in pagination.

---

**`edges`**: `[QueryScxCategoryCustomAttributeValuesEdge!]`

A list of edges.

---

**`nodes`**: `[ScxCategoryCustomAttributeValue!]`

A flattened list of the nodes.

---

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

Identifies the total count of items in the connection.

## Examples

```graphql Query
query QueryScxCategoryCustomAttributeValues($salesChannelId: String!, $channelCategoryId: ID!) {
  QueryScxCategoryCustomAttributeValues(salesChannelId: $salesChannelId, channelCategoryId: $channelCategoryId) {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
    edges {
      cursor
      node {
        name
        value
        isTemplate
        id
        salesChannelId
        channelCategoryId
      }
    }
    nodes {
      name
      value
      isTemplate
      id
      salesChannelId
      channelCategoryId
    }
    totalCount
  }
}
```

```json Variables
{
  "salesChannelId": "string",
  "channelCategoryId": "id"
}
```

```json Response
{
  "data": {
    "QueryScxCategoryCustomAttributeValues": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "string",
        "endCursor": "string"
      },
      "edges": [
        {
          "cursor": "string",
          "node": {
            "name": "string",
            "value": "string",
            "isTemplate": true,
            "id": "id",
            "salesChannelId": "id",
            "channelCategoryId": "id"
          }
        }
      ],
      "nodes": [
        {
          "name": "string",
          "value": "string",
          "isTemplate": true,
          "id": "id",
          "salesChannelId": "id",
          "channelCategoryId": "id"
        }
      ],
      "totalCount": 1
    }
  }
}
```
