Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Storage Location → Get Many

AI-generated

Summary

Retrieve multiple storage location records associated with a specified warehouse from the Xentral API, supporting either pagination to fetch all records or limiting the number of results.

Inputs

  • warehouseId (required) — The ID of the warehouse containing the storage locations to retrieve. Required for the operation.
  • returnAll — Boolean to choose whether to return all storage locations or limit the results.
  • limit — Maximum number of storage location records to return when 'Return All' is false. Default is 50, maximum 100.
  • maxPages — Maximum number of API pages to fetch when 'Return All' is true. Each page returns 50-150 records depending on the resource. Default is 1000 pages.

Output shape

a list of storage location records from the specified warehouse

When 'Return All' is true, paginates through results fetching up to 'Max Pages' pages. When false, results are limited to the 'Limit' value. API pagination stops early if fewer results than expected are returned. Errors during fetch are surfaced by the node.

Examples

Example 1: Fetch up to 50 storage locations for a warehouse

Set 'Warehouse ID' to desired warehouse, set 'Return All' to false, and 'Limit' to 50.

Example 2: Fetch all storage locations for a warehouse up to 1000 pages

Set 'Warehouse ID' to desired warehouse, set 'Return All' to true, and optionally adjust 'Max Pages' if more results are required.

Links

Discussion