query QueryScxCategoryAttribute($channelCategoryId: ID!) {
QueryScxCategoryAttribute(channelCategoryId: $channelCategoryId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
channelCategoryId
channelId
attributeCode
displayName
type
}
}
nodes {
id
channelCategoryId
channelId
attributeCode
displayName
type
}
totalCount
}
}{
"channelCategoryId": "id"
}{
"data": {
"QueryScxCategoryAttribute": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"channelCategoryId": "id",
"channelId": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string"
}
}
],
"nodes": [
{
"id": "id",
"channelCategoryId": "id",
"channelId": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string"
}
],
"totalCount": 1
}
}
}QueryScxCategoryAttribute
Delivers the attributes a marketplace channel category defines for the offers listed in it, including their selectable values and whether each attribute is required. Unless a sort order is requested, the attributes are ordered by section position, sub-section position, display name and ID. An unknown channel category yields 404; a known channel category without attributes yields an empty page.
QueryScxCategoryAttribute(channelCategoryId: ID!, first: Int, after: String, last: Int, before: String, order: [ScxCategoryAttributeSortInput!]): QueryScxCategoryAttributeConnectionArguments
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 QueryScxCategoryAttribute($channelCategoryId: ID!) {
QueryScxCategoryAttribute(channelCategoryId: $channelCategoryId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
channelCategoryId
channelId
attributeCode
displayName
type
}
}
nodes {
id
channelCategoryId
channelId
attributeCode
displayName
type
}
totalCount
}
}{
"channelCategoryId": "id"
}{
"data": {
"QueryScxCategoryAttribute": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"channelCategoryId": "id",
"channelId": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string"
}
}
],
"nodes": [
{
"id": "id",
"channelCategoryId": "id",
"channelId": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string"
}
],
"totalCount": 1
}
}
}Was this page helpful?