query QueryScxOffers {
QueryScxOffers {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
salesChannelId
salesChannelName
channelId
channel
channelDisplayName
}
}
nodes {
id
salesChannelId
salesChannelName
channelId
channel
channelDisplayName
}
totalCount
}
}{
"data": {
"QueryScxOffers": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"salesChannelId": "id",
"salesChannelName": "string",
"channelId": "id",
"channel": "string",
"channelDisplayName": "string"
}
}
],
"nodes": [
{
"id": "id",
"salesChannelId": "id",
"salesChannelName": "string",
"channelId": "id",
"channel": "string",
"channelDisplayName": "string"
}
],
"totalCount": 1
}
}
}QueryScxOffers
Delivers a paged list of SCX offers. The optional “SalesChannelId” restricts the list to a single sales channel: if it is omitted or empty, the offers of all sales channels are returned; a valid id of an unknown sales channel returns an empty list; an invalid id is rejected as invalid input (error code SALES_CHANNEL_ID_INVALID). Supports projection, sorting and filtering.
QueryScxOffers(salesChannelId: String, first: Int, after: String, last: Int, before: String, where: ScxOfferFilterInput, order: [ScxOfferSortInput!]): QueryScxOffersConnectionArguments
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.
Returns
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 QueryScxOffers {
QueryScxOffers {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
salesChannelId
salesChannelName
channelId
channel
channelDisplayName
}
}
nodes {
id
salesChannelId
salesChannelName
channelId
channel
channelDisplayName
}
totalCount
}
}{
"data": {
"QueryScxOffers": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"salesChannelId": "id",
"salesChannelName": "string",
"channelId": "id",
"channel": "string",
"channelDisplayName": "string"
}
}
],
"nodes": [
{
"id": "id",
"salesChannelId": "id",
"salesChannelName": "string",
"channelId": "id",
"channel": "string",
"channelDisplayName": "string"
}
],
"totalCount": 1
}
}
}Was this page helpful?