Hello API developers
The Intuit developer group has just rolled out Postman for QuickBooks Online APIs. What is Postman? Glad you asked.
Postman allows you to create and send any HTTP request using the awesome Postman request builder. Write your own test cases to validate response data, response times, and more! You can also save requests and organize your APIs into Collections. We have released our own QuickBooks Online Postman collection as well to make your QuickBooks online development even easier.
Get started with Postman for QuickBooks Online now!
Postman works with Mac, Windows and Linux.
Intuit has provided a Postman collection for the QuickBooks Online APIs. Once you install it, you can see all of the QuickBooks Online APIs that are available. You will need to follow the instructions here to create an Oauth 1.0 header which you can save for re-use. You can also save your API calls for re-use later on if needed.
You can save a configuration for your sandbox environment which has the API endpoint and Oauth credentials for the sandbox API, and another for production with production credentials. Then switching between them is as easy as selecting your environments in the request builder.
Here is an example of reading a customer with Postman from my QuickBooks Online Sandbox.
If you want to write a query for customers click the readall entity on the left. Then select the body tab under the request uri. This gives you access to write the query for customers in the body of the request. For example: you can edit the request body to be “Select * from Customer where <where clause>” .
We’d love to hear from you.
Tell us how you like Postman in the comments below!
Happy coding!
Jarred
Leave a Reply