Query
query QueryScxSellerAttribute($salesChannelId: String!) {
QueryScxSellerAttribute(salesChannelId: $salesChannelId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
code
displayName
type
isMultipleAllowed
isRequired
}
}
nodes {
id
code
displayName
type
isMultipleAllowed
isRequired
}
totalCount
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryScxSellerAttribute": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"code": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
}
],
"nodes": [
{
"id": "id",
"code": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
],
"totalCount": 1
}
}
}Queries
QueryScxSellerAttribute
Delivers the attributes of an SCX seller by its sales channel id. Each attribute includes its selectable options and the values entered for it. An unknown, deleted or non-SCX sales channel results in a not-found error. The page is empty when the seller has no attributes.
QUERY
QueryScxSellerAttribute(salesChannelId: String!, first: Int, after: String, last: Int, before: String, order: [ScxSellerAttributeSortInput!]): QueryScxSellerAttributeConnectionArguments
salesChannelId
String!
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
pageInfo
Information to aid in pagination.
edges
A list of edges.
nodes
A flattened list of the nodes.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query QueryScxSellerAttribute($salesChannelId: String!) {
QueryScxSellerAttribute(salesChannelId: $salesChannelId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
code
displayName
type
isMultipleAllowed
isRequired
}
}
nodes {
id
code
displayName
type
isMultipleAllowed
isRequired
}
totalCount
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"QueryScxSellerAttribute": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"code": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
}
],
"nodes": [
{
"id": "id",
"code": "string",
"displayName": "string",
"type": "string",
"isMultipleAllowed": true,
"isRequired": true
}
],
"totalCount": 1
}
}
}Was this page helpful?