GraphQL Hot Chocolate concepts
Quick Links
Accounts Accounting Entries Products Customers Sales quotes Sales invoices Suppliers Purchase invoicesDon’t forget,
to see samples of queries and mutations,
download, then import, the Postman collection: Quick start / 5. Test your first query in Postman
This guide explains the main concepts of Hot Chocolate for using Sage Active Public API V2
- Some examples to familiarize yourself with the syntax of queries.
- Description of operators and keywords that can be used in queries
query {
journalTypes (
where: {
or: [
{type: {eq: PURCHASE_INVOICE}},
{code: {eq: "VTE"}},
{code: {eq: "VNTS"}},
{code: {eq: "VKR"}}
]}
){
edges {
node {
id
code
type
name
}
}
totalCount
pageInfo {
hasNextPage
}
}
}