Actions23
Sales Order → Get Many
AI-generatedSummary
Retrieve multiple sales orders from Pulpo WMS, applying optional filters and controlling pagination.
Inputs
- Return All — Boolean indicating whether to return all matching sales orders without limit.
- Limit — Maximum number of sales orders to return if 'Return All' is false (1-1000). Defaults to 50.
- Offset — Number of sales orders to skip for pagination. Defaults to 0.
- Filters — Collection of optional filters to narrow the sales orders list, including channel, client ID, criterium, delivery date, insertion date, order number, product ID, state, third party ID, update date, and warehouse.
Output shape
a list of sales order objects in JSON format
Supports pagination using 'Limit' and 'Offset' when 'Return All' is false; otherwise, all matching sales orders are returned. Filters are applied as query parameters in the API request to refine results.
Examples
Example 1: Get up to 50 sales orders in 'queue' state from a specific warehouse, skipping the first 10
Set 'Return All' to false, 'Limit' to 50, 'Offset' to 10, and use the 'Filters' collection to specify 'state' as 'queue' and 'warehouse_id' to the desired warehouse.