VitePOS Bridge icon

VitePOS Bridge

Use VitePOS automation bridge and analytics APIs

Vendor → List Vendors

AI-generated

Summary

Lists vendors from a VitePOS site via a GET request to the bridge's /wp-json/vtab/v1/vendors endpoint. Optional filters narrow, sort and paginate the results.

Inputs

  • Vendor Filters — Optional collection of filters. Only the filters you add are sent as query parameters, and empty values are skipped. With none added, the request has no query string and the server defaults apply.
  • Email — Filter vendors by email.
  • Search — Free-text search term.
  • Status — Any (empty), Active (A) or Inactive (I).
  • Order By — Sort field: ID, Email, Name or Status. The default is id.
  • Order — Ascending or Descending. The default is desc.
  • Page — Page number for pagination. The default is 1.
  • Per Page — Number of vendors per page. The default is 50.

Output shape

One output item per input item. Its JSON is the bridge API response, plus a leading response field with a readable summary such as "Vendor list returned N rows out of M." The API's own fields, typically rowdata (the vendor rows) and records (the total count), sit alongside it.

Pagination is manual: increment Page across runs or loop. If the API response already has a response key, or isn't an object, the original is placed under raw. With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the run. Requires the viteposBridgeApi credential.

Examples

Example 1: Fetch all active vendors sorted by name

Resource: Vendor, Operation: List Vendors. Vendor Filters: Status = Active, Order By = Name, Order = Ascending.

Example 2: Find a vendor by email

Vendor Filters: Email = supplier@example.com.

Example 3: Page through a large vendor list

Vendor Filters: Per Page = 100, Page = 2.

Links

Discussion