Query
query QueryTaxCodes {
QueryTaxCodes {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
cashDiscountAccount
generalLedgerAccount
isAutomatic
name
number
}
}
nodes {
id
cashDiscountAccount
generalLedgerAccount
isAutomatic
name
number
}
totalCount
}
}Response
{
"data": {
"QueryTaxCodes": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"cashDiscountAccount": "string",
"generalLedgerAccount": "string",
"isAutomatic": true,
"name": "string",
"number": 1
}
}
],
"nodes": [
{
"id": "id",
"cashDiscountAccount": "string",
"generalLedgerAccount": "string",
"isAutomatic": true,
"name": "string",
"number": 1
}
],
"totalCount": 1
}
}
}Queries
QueryTaxCodes
Queries all tax codes.
QUERY
QueryTaxCodes(first: Int, after: String, last: Int, before: String, where: TaxCodeFilterInput, order: [TaxCodeSortInput!]): QueryTaxCodesConnectionArguments
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
[TaxCode!]
A flattened list of the nodes.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query QueryTaxCodes {
QueryTaxCodes {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
id
cashDiscountAccount
generalLedgerAccount
isAutomatic
name
number
}
}
nodes {
id
cashDiscountAccount
generalLedgerAccount
isAutomatic
name
number
}
totalCount
}
}Response
{
"data": {
"QueryTaxCodes": {
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"cashDiscountAccount": "string",
"generalLedgerAccount": "string",
"isAutomatic": true,
"name": "string",
"number": 1
}
}
],
"nodes": [
{
"id": "id",
"cashDiscountAccount": "string",
"generalLedgerAccount": "string",
"isAutomatic": true,
"name": "string",
"number": 1
}
],
"totalCount": 1
}
}
}Was this page helpful?