Queries
Last updated
Was this helpful?
Last updated
Was this helpful?
The section of these docs gives you a comprehensive list of all of the objects, queries and mutations that can be performed.
There are a lot of pages in the API reference so its important as a first step that you think about what it is that you want to achieve. If you want to update an object then you will want to go to the section, alternately if you wanted to build a custom query then you would start in the section.
For example, to get a list of accounts your query will look like this.
Unless you've got an expired token then most of the time you will get a HTTP 200 response but dont immediately assume that the request worked as expected. You need to check the body of your request to see if any errors were returned.
Success! No errors.
You then need to combine the query with any parameters that it requires (in this case a filter and limit) then send the request along with a .
Failure! In this case we've requested a field in our query that doesnt exist on the . You may also get data validation errors so please check your query and the variables being sent and try again.
Token expired, you need to .