Quickbooks API Integration Profile
Information and guides about integrating with Quickbooks API
Add Quickbooks Integration to Your App- Get Connection Info
- Account-Create
Create a new Account
- Account-ReadById
Get the Account which has accountId as 1
- Account-ReadAll
Get all customer records using generic 'Query' endpoint. Method - POST
- Attachable-Create
Create an attachable object Conent-Type
/json Method - POST - Attachable-ReadById
Retrieve an attachable object by Id Accept
/json Method - GET - Upload-Attachments
Uploading and linking new attachments
If the attachment is not in the Attachment list already, it's possible to upload it and link it to the object in one multipart operation.
Operation: POST https://quickbooks.api.intuit.com/companyID/upload Content type: multipart/form-data
Request body
The following sample code shows the multipart request body for uploading a file and its supporting Attachable metatdata object, with the result of it being both added to the Attachment list and added to the object.
The Attachable object accompanying this request supplies metadata and object information to which the attachment is linked. Each part of the multipart request is separated by a boundary. In the sample below, the string --YOjcLaTlykb6OxfYJx4O07j1MweeMFem is used. You can use any random and unique string. The file to be uploaded and its Attachable object are paired together via the name parameter in the part header for each one. The name parameter for the file part is of the form file_content_nn, where nn is a unique index number among the set of files being uploaded. The name parameter for the Attachable object is of the form file_metadata_nn, where nn corresponds to the file index number used with the content . The file or files are stored in the Attachment list with the name specified by the filename parameter. If the data supplied with the Attachable object cannot be validated, an error is returned and the file is not uploaded.
- Batch
Multiple operations using batch query Content-Type
/json Method - POST - Bill-Create
Create a bill Content-Type
/json Method - POST - Bill-GetById
Retrieve a bill by Id Accept
/json Method - GET