Optima REST API icon

Optima REST API

Interact with Comarch Optima ERP via REST API

Dictionary → Warehouses

AI-generated

Summary

Retrieve the list of warehouses from the Comarch Optima ERP dictionary endpoint.

Inputs

  • Options — Configure output mode to return results as a single item containing all warehouses in an array or as multiple separate items, defaulting to a single array.

Output shape

a list of warehouse records either wrapped in a single item as an array or as multiple individual items, depending on the 'Output Mode' option

The response includes a JSON object containing the warehouses data keyed as 'Warehouses'. If 'Multiple Items (Split)' is selected, each warehouse is returned as a separate item; otherwise, all warehouses are returned in one item as an array. If the API response structure is unexpected, the entire response is returned as is.

Examples

Example 1: Get all warehouses as a single array

Set resource to 'Dictionary', operation to 'Warehouses', and options.outputMode to 'Single Item (Array)'. The node output will contain one item with all warehouses.

Example 2: Get warehouses as individual items

Set resource to 'Dictionary', operation to 'Warehouses', and options.outputMode to 'Multiple Items (Split)'. The node output will contain one item per warehouse.

Links

Discussion