Query
query QuerySuppliers {
QuerySuppliers {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
name
canDropship
currencyIso
}
}
nodes {
id
name
canDropship
currencyIso
}
totalCount
}
}Response
{
"data": {
"QuerySuppliers": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"canDropship": true,
"currencyIso": "string"
}
}
],
"nodes": [
{
"id": "id",
"name": "string",
"canDropship": true,
"currencyIso": "string"
}
],
"totalCount": 1
}
}
}Queries
QuerySuppliers
Queries all suppliers.
QUERY
QuerySuppliers(first: Int, after: String, last: Int, before: String, where: SupplierFilterInput, order: [SupplierSortInput!]): QuerySuppliersConnectionArguments
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.
where
order
Returns
pageInfo
Information to aid in pagination.
edges
A list of edges.
nodes
[Supplier!]
A flattened list of the nodes.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query QuerySuppliers {
QuerySuppliers {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
name
canDropship
currencyIso
}
}
nodes {
id
name
canDropship
currencyIso
}
totalCount
}
}Response
{
"data": {
"QuerySuppliers": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"canDropship": true,
"currencyIso": "string"
}
}
],
"nodes": [
{
"id": "id",
"name": "string",
"canDropship": true,
"currencyIso": "string"
}
],
"totalCount": 1
}
}
}Was this page helpful?