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
}
}{
"salesChannelId": "string",
"channelCategoryId": "id"
}{
"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
}
}
}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.
QueryScxCategoryCustomAttributeValues(salesChannelId: String!, channelCategoryId: ID!, first: Int, after: String, last: Int, before: String, order: [ScxCategoryCustomAttributeValueSortInput!]): QueryScxCategoryCustomAttributeValuesConnectionArguments
Returns the first n elements from the list.
Returns the elements in the list that come after the specified cursor.
Returns the last n elements from the list.
Returns the elements in the list that come before the specified cursor.
Information to aid in pagination.
A list of edges.
A flattened list of the nodes.
Identifies the total count of items in the connection.
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
}
}{
"salesChannelId": "string",
"channelCategoryId": "id"
}{
"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
}
}
}Was this page helpful?