Skip to main content

List Vendor Credits

GET 

/api/vendor-credits

Returns a paginated list of vendor credits. Supports Spatie QueryBuilder filters, sorting, and search. Each row is transformed via vendor credit object.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

The response also includes unfiltered_total, the count of rows in the base scope before any user filters are applied — used by the frontend to show export totals.

Search (filter[search]) matches across: ID, Credit Number (vendor_credit_number), Additional Reference (supplier_reference), Supplier PO # (supplier_po_number), Supplier Name, Supplier Email, line item SKU, and Purchase Order #.

Request

Responses

Successful response