query QueryScxChannelAttribute($channelId: ID!) {
QueryScxChannelAttribute(channelId: $channelId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
attributeCode
displayName
type
isMultipleAllowed
isRequired
}
}
nodes {
id
attributeCode
displayName
type
isMultipleAllowed
isRequired
}
totalCount
}
}{
"channelId": "id"
}{
"data": {
"QueryScxChannelAttribute": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
}
],
"nodes": [
{
"id": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
],
"totalCount": 1
}
}
}QueryScxChannelAttribute
Delivers the attributes a marketplace channel defines for its offers, including their selectable values, ordered by section position, sub-section position, display name and ID. The channel is the SCX catalog channel as listed by the SCX sales channel endpoint, not a seller sales channel. An unknown channel yields 404; a known channel without attributes yields an empty page.
QueryScxChannelAttribute(channelId: ID!, first: Int, after: String, last: Int, before: String): QueryScxChannelAttributeConnectionArguments
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 QueryScxChannelAttribute($channelId: ID!) {
QueryScxChannelAttribute(channelId: $channelId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
attributeCode
displayName
type
isMultipleAllowed
isRequired
}
}
nodes {
id
attributeCode
displayName
type
isMultipleAllowed
isRequired
}
totalCount
}
}{
"channelId": "id"
}{
"data": {
"QueryScxChannelAttribute": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
}
],
"nodes": [
{
"id": "id",
"attributeCode": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
],
"totalCount": 1
}
}
}Was this page helpful?