Query
query QueryScxOfferErrors($offerId: ID!) {
QueryScxOfferErrors(offerId: $offerId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
offerId
code
message
details
createdAt
}
}
nodes {
id
offerId
code
message
details
createdAt
}
totalCount
}
}Variables
{
"offerId": "id"
}Response
{
"data": {
"QueryScxOfferErrors": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"offerId": "id",
"code": "string",
"message": "string",
"details": "string",
"createdAt": "value"
}
}
],
"nodes": [
{
"id": "id",
"offerId": "id",
"code": "string",
"message": "string",
"details": "string",
"createdAt": "value"
}
],
"totalCount": 1
}
}
}Queries
QueryScxOfferErrors
Delivers a paged list of the errors of an offer, newest first unless a sort order is requested. An unknown offer is answered with 404 (error code OFFER_NOT_FOUND); an offer without errors yields an empty list.
QUERY
QueryScxOfferErrors(offerId: ID!, first: Int, after: String, last: Int, before: String, order: [ScxOfferErrorSortInput!]): QueryScxOfferErrorsConnectionArguments
offerId
ID!
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 QueryScxOfferErrors($offerId: ID!) {
QueryScxOfferErrors(offerId: $offerId) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
offerId
code
message
details
createdAt
}
}
nodes {
id
offerId
code
message
details
createdAt
}
totalCount
}
}Variables
{
"offerId": "id"
}Response
{
"data": {
"QueryScxOfferErrors": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"offerId": "id",
"code": "string",
"message": "string",
"details": "string",
"createdAt": "value"
}
}
],
"nodes": [
{
"id": "id",
"offerId": "id",
"code": "string",
"message": "string",
"details": "string",
"createdAt": "value"
}
],
"totalCount": 1
}
}
}Was this page helpful?