Actions56
- Agent Actions
- Agent Tool Actions
- Call History Actions
- Campaign Actions
- Catalogue Actions
- Catalogue Item Actions
- Contact Actions
- Contact List Actions
- Event Actions
- Order Actions
- Wallet Actions
- Workflow Actions
Order → Get Many
AI-generatedOverview
This node interacts with the Yourang.ai platform to retrieve multiple customer orders based on specified filters and parameters. It is useful for scenarios where users need to fetch a list of orders, such as for reporting, data synchronization, or order management tasks. For example, a user can retrieve all orders created after a certain date, filter by order status, and sort the results by creation date or total amount.
Use Case Examples
- Retrieve all orders created after January 1, 2024, sorted by creation date descending.
- Fetch up to 50 orders with status 'completed' sorted by total amount ascending.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all results or only up to a given limit. |
| Limit | Maximum number of results to return when 'Return All' is false. |
| Filters | Collection of filters to refine the order retrieval, including 'Created After' date, 'Sort' order, and 'Status' filter. |
Output
JSON
id- Unique identifier of the order.created_at- Timestamp when the order was created.status- Current status of the order.total_amount- Total monetary amount of the order.customer- Customer details associated with the order.
Dependencies
- Yourang.ai API with an API key credential
Troubleshooting
- Common issues include API authentication errors due to invalid or missing credentials. Ensure the Yourang API key is correctly configured.
- Errors may occur if invalid filter values are provided, such as incorrect date formats or unsupported status values. Validate input parameters before execution.
- If the node returns no data, check that the filters are not too restrictive and that there are orders matching the criteria.
Links
- Yourang.ai Orders API Documentation - Official documentation for the Yourang.ai orders API endpoints and parameters.