Selecting Transactions with CustomerID filter

batchSelect

Currently only supported by QuickBooks Desktop Invoices. This is a POST request that selects QuickBooks transactions, while filtering by Customers.

Request:

https://api.getautofy.com/v2/data/{*Endpoint Id*}/Invoice/batchSelect

Payload:

  • CustomerIds[] is the list of QuickBook's Customer IDs to filter for.
  • Note: If a CustomerID does not exist on the list, an error will be returned with that CustomerID. If there are multiple, QuickBooks only returns the furthest one down on the list.

Example (QuickBooks Desktop):

curl --request POST \
  --url https://api.getautofy.com/v2/data/{*Endpoint Id*}/Invoice/batchSelect \
  --header 'cache-control: no-cache' \
  --header 'content-type: application/json' \
  --header 'x-api-key: {YOUR_API_KEY}' \
  --data '{ "CustomerIds" : ["80000001-000000001","80000001-000000002"] }'

Note: This feature is support on Agent version 22.0.0329 and newer


Did this page help you?