query QueryScxChannelCustomAttributeValues($salesChannelId: String!) {
QueryScxChannelCustomAttributeValues(salesChannelId: $salesChannelId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
name
value
isTemplate
id
salesChannelId
}
}
nodes {
name
value
isTemplate
id
salesChannelId
}
totalCount
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryScxChannelCustomAttributeValues": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"name": "string",
"value": "string",
"isTemplate": true,
"id": "id",
"salesChannelId": "id"
}
}
],
"nodes": [
{
"name": "string",
"value": "string",
"isTemplate": true,
"id": "id",
"salesChannelId": "id"
}
],
"totalCount": 1
}
}
}QueryScxChannelCustomAttributeValues
Delivers the custom fields that an SCX seller stored on channel level, i.e. the entries without an attribute code that have a name which is not empty; a name of spaces only counts as a name and is returned as stored, without trimming. Entries with an attribute code are not returned. Unless a sort order is requested, the entries are ordered by name and ID. A requested sort order replaces this default order, and entries with the same name are not ordered further, so paging through a sorted result can repeat or skip entries. 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). A seller without custom fields yields an empty page.
QueryScxChannelCustomAttributeValues(salesChannelId: String!, first: Int, after: String, last: Int, before: String, order: [ScxChannelCustomAttributeValueSortInput!]): QueryScxChannelCustomAttributeValuesConnectionArguments
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 QueryScxChannelCustomAttributeValues($salesChannelId: String!) {
QueryScxChannelCustomAttributeValues(salesChannelId: $salesChannelId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
name
value
isTemplate
id
salesChannelId
}
}
nodes {
name
value
isTemplate
id
salesChannelId
}
totalCount
}
}{
"salesChannelId": "string"
}{
"data": {
"QueryScxChannelCustomAttributeValues": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"name": "string",
"value": "string",
"isTemplate": true,
"id": "id",
"salesChannelId": "id"
}
}
],
"nodes": [
{
"name": "string",
"value": "string",
"isTemplate": true,
"id": "id",
"salesChannelId": "id"
}
],
"totalCount": 1
}
}
}Was this page helpful?