Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Material → StockRead

AI-generated

Summary

StockRead reads material stock records for the Zen ERP node, supporting optional query parameters for filtering and pagination.

Inputs

  • resource (required) — Fixed to 'Material' for this operation.
  • operation (required) — Fixed to 'StockRead' for this operation.

Output shape

array of items, each containing a 'json' field with the stock record data.

If the handler returns an array, all items are emitted. If it returns a single value, one item is emitted.

Examples

Example 1: Read all material stock records without filters.

Leave all query parameters at their defaults.

Example 2: Read material stock records with a search query and pagination.

Set 'q' to a search term, 'first' and 'max' to define the page range, and 'order' for sorting.

Discussion