Suppliers
GET
Show Supplier With Purchase
Retrieve a supplier's details along with their purchase summary and latest 5 purchases.
Required Permission:
Preview Supplier
GET
/suppliers/{id}/purchase
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Supplier info with purchase summary and recent purchases
Key Response Fields
supplier
Full supplier resource object
total_purchase
Total purchase amount for this supplier
total_invoice
Total number of purchase invoices
total_due_amount
Total outstanding due amount
purchases
Array of the latest 5 purchases from this supplier