Query
query QueryItems {
QueryItems {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
billOfMaterialsId
parentItemId
itemIdForCategoryItemId
sku
sortNumber
}
}
nodes {
id
billOfMaterialsId
parentItemId
itemIdForCategoryItemId
sku
sortNumber
}
totalCount
}
}Response
{
"data": {
"QueryItems": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"billOfMaterialsId": 1,
"parentItemId": "id",
"itemIdForCategoryItemId": "id",
"sku": "string",
"sortNumber": 1
}
}
],
"nodes": [
{
"id": "id",
"billOfMaterialsId": 1,
"parentItemId": "id",
"itemIdForCategoryItemId": "id",
"sku": "string",
"sortNumber": 1
}
],
"totalCount": 1
}
}
}Queries
QueryItems
Queries all items.
QUERY
QueryItems(searchTerm: String, searchOperator: SearchOperator, searchField: [ItemSearchField!], extendedFilter: String, first: Int, after: String, last: Int, before: String, where: ItemListItemFilterInput, order: [ItemListItemSortInput!]): QueryItemsConnectionArguments
searchTerm
String
searchOperator
searchField
extendedFilter
String
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
Returns
pageInfo
Information to aid in pagination.
edges
A list of edges.
nodes
[ItemListItem!]
A flattened list of the nodes.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query QueryItems {
QueryItems {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
billOfMaterialsId
parentItemId
itemIdForCategoryItemId
sku
sortNumber
}
}
nodes {
id
billOfMaterialsId
parentItemId
itemIdForCategoryItemId
sku
sortNumber
}
totalCount
}
}Response
{
"data": {
"QueryItems": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"billOfMaterialsId": 1,
"parentItemId": "id",
"itemIdForCategoryItemId": "id",
"sku": "string",
"sortNumber": 1
}
}
],
"nodes": [
{
"id": "id",
"billOfMaterialsId": 1,
"parentItemId": "id",
"itemIdForCategoryItemId": "id",
"sku": "string",
"sortNumber": 1
}
],
"totalCount": 1
}
}
}Was this page helpful?