Purchase
Retrieves the collection of Purchase resources.
Retrieves the collection of Purchase resources.
get/purchases
Request
- Base URLhttps://example.myintranetapps.com/api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
The collection page number
itemsPerPageinteger
The number of items per page
Response
Purchase collection
Example response
[
{
"id": "stripe-5050",
"integration": "quickbooks",
"paymentType": "CreditCard",
"accountId": "1057",
"currency": "USD",
"txnDate": "2019-08-25",
"totalAmount": 450000,
"created": "2019-08-25T02:17:40.080Z",
"modified": "2019-08-26T02:17:40.080Z",
"srcId": "GH2JK-67283H-YW82KHX-2883KK-KS78S",
"customerId": "C056",
"name": "purchase name",
"status": "shipped",
"quantity": 10,
"amountPerUnit": "450",
"txnId": "4560",
"accountName": "Cool Cars",
"invoiceId": "9870028192",
"contactId": "23",
"contactName": "Cool Cars",
"contactType": "Vendor",
"paymentMethodId": "1d80716b-427e-4cad-80c6-c4b3a18eb23d"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.