Actions8
Sales Order → Get Many
AI-generatedSummary
Fetch sales orders matching specified filters.
Inputs
- authentication (required) — Method of OAuth2 authentication to use for API requests.
- expandUserInfo — Whether to expand associated users' info in the response.
- filters — Collection of filter criteria to narrow down the sales orders returned.
Output shape
array of sales order records
Each record contains sales order data; when expandUserInfo is true, additional user fields such as salesperson and createdByUser are included. Errors may be returned in an error object if continueOnFail is enabled.
Examples
Example 1: Retrieve all open sales orders for a specific customer
Authentication: OAuth2; expandUserInfo: false; filters: {customerId: 123, isClosed: false}
Example 2: Expand associated user information in the results
Authentication: OAuth2; expandUserInfo: true; filters: {}
Example 3: Fetch all closed sales orders
Authentication: OAuth2; expandUserInfo: false; filters: {isClosed: true}