Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Order → Get Orders
AI-generatedOverview
This node integrates with the Decogro API to manage orders and related resources. Specifically, the 'Get Orders' operation retrieves a list of orders from Decogro, supporting pagination and optional search filtering. This is useful for workflows that need to fetch and process order data, such as order tracking, reporting, or syncing with other systems.
Use Case Examples
- Retrieve the first 10 orders to display recent sales.
- Fetch orders with a specific search term like a PO number to find particular transactions.
Properties
| Name | Meaning |
|---|---|
| Limit | Number of order items to return, with a minimum of 1 and maximum of 100. |
| Offset | Number of order items to skip, used for pagination, minimum value is 0. |
| Search | Optional search term to filter orders by order name, PO number, or order ID. |
Output
JSON
operation- The operation performed, e.g., 'getOrders'.data- The array or object containing the retrieved orders data from Decogro.metadatamethod- HTTP method used for the API request, e.g., 'GET'.endpoint- API endpoint path used for the request, e.g., 'order'.timestamp- Timestamp when the request was made.limit- The limit parameter used for pagination.offset- The offset parameter used for pagination.page- The calculated page number based on limit and offset.
Dependencies
- Requires Decogro API credentials including base URL and API key for authentication.
Troubleshooting
- Ensure the Decogro API credentials are correctly configured and valid to avoid authentication errors.
- If no orders are returned, verify the 'Limit' and 'Offset' parameters and the optional 'Search' term for correctness.
- Invalid JSON errors do not apply to this operation as it uses GET requests without a body.
- Network or API endpoint errors may occur; check the base URL and network connectivity.
Links
- Decogro API Documentation - Orders - Official API documentation for managing orders in Decogro.