Weclapp icon

Weclapp

Interact with the Weclapp ERP/CRM API

Actions136

Purchase Order → Search

AI-generated

Summary

Finds Purchase Orders in Weclapp using filters, pagination, and custom query syntax.

Inputs

  • returnAll — When enabled, fetches all matching records across pages automatically; ignores Page and Page Size.
  • customQuery — Filter using Weclapp query syntax (e.g., customerNumber-eq=K10001). Multiple filters combine with AND logic; includes calculated fields via additionalProperties.
  • page — The page number to retrieve (1-indexed). Ignored if Return All is enabled.
  • pageSize — The number of records per page (1-1000). Ignored if Return All is enabled.
  • sort — Sort field. Prefix with - for descending order (default: -lastModifiedDate).

Output shape

a list of items, each representing a single Purchase Order record

Records include standard fields plus calculated fields if requested in customQuery. Additional properties and referenced entities are merged per page.

Examples

Example 1: Fetch all open Purchase Orders sorted by creation date descending

Return All: true, Sort: -createdDate

Example 2: Find Purchase Orders for a specific customer

Custom Query: customerNumber-eq=K10001

Example 3: Retrieve the first 50 Purchase Orders sorted by last modification date

Page Size: 50, Sort: -lastModifiedDate

Links

Discussion