Actions12
- Product Actions
- Customer Actions
- Order Actions
- Webhook Actions
Order → Get List Orders
AI-generatedOverview
This node interacts with the Sapo API to retrieve a list of orders. It is useful for scenarios where you need to fetch multiple orders from a Sapo store, such as for order management, reporting, or integration with other systems. For example, you can use it to get paginated lists of orders with optional filters like page number, limit of orders per page, since ID for incremental fetching, and specific fields to return.
Use Case Examples
- Fetch the first 20 orders from a Sapo store to display in a dashboard.
- Retrieve orders starting from a specific order ID to sync with an external database.
Properties
| Name | Meaning |
|---|---|
| Page | The page number of the orders list to retrieve, used for pagination. |
| Limit | The maximum number of orders to retrieve per request. |
| Since ID | Fetch orders with IDs greater than this value, useful for incremental data fetching. |
| Fields | Specify which fields of the orders to return, allowing for customized data retrieval. |
Output
JSON
json- The JSON response from the Sapo API containing the list of orders and their details.
Dependencies
- Sapo API key credential required for authentication.
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to access orders.
- Check that the 'page', 'take' (limit), and 'since_id' parameters are valid numbers or strings as expected by the API.
- If the API returns an error about unknown operation or resource, verify that the resource is set to 'order' and operation to 'getOrders'.
- Network issues or incorrect API endpoint URLs can cause request failures; verify connectivity and endpoint correctness.
Links
- Sapo API Documentation - Official documentation for the Sapo API, useful for understanding available endpoints and parameters.