REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Actions40

Overview

This node interacts with the LatePoint REST API to retrieve all orders based on various filter criteria. It is designed to fetch multiple order records, optionally filtered and sorted according to user-defined parameters. This node is useful in scenarios where you need to automate order management workflows, generate reports, or synchronize order data from LatePoint into other systems.

For example, you can use this node to:

  • Retrieve all completed orders for a specific customer.
  • Fetch orders within a certain date range and sort them by total amount.
  • Get all orders that used a particular coupon code.
  • Filter orders by payment or fulfillment status to track outstanding tasks.

Properties

Name Meaning
Filters A collection of filters to narrow down the orders retrieved. Options include: Customer ID, Order Status (Open, Completed, Cancelled), Payment Status (Not Paid, Paid, Partially Paid), Fulfillment Status (Not Fulfilled, Fulfilled, Completed), minimum and maximum total amounts, created date range, coupon code, search text across order fields, sorting field (ID, Total, Created Date, Status), sort order (Ascending, Descending), whether to include metadata, and filtering by specific meta key/value pairs.
Description A text description or prompt to provide context or purpose for the API call, helping AI understand the operation's intent.
Return All Boolean flag indicating whether to return all matching results or limit the number of results returned.
Limit When "Return All" is false, limits the maximum number of results returned (1 to 100).

Output

The output is an array of JSON objects, each representing an order retrieved from the LatePoint API. Each order object contains fields corresponding to the order details such as customer information, order status, payment status, fulfillment status, totals, dates, coupon codes, comments, and optionally metadata if requested.

If the node is configured to return all results, it will paginate through the API responses internally until all matching orders are collected.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the LatePoint REST API.
  • The base URL and API key must be configured in the node credentials.
  • The node sends HTTP requests with JSON content type and Bearer token authorization header.

Troubleshooting

  • No credentials configured!
    This error occurs if the required API authentication token is not set up. Ensure you have configured the API key credential properly in n8n before running the node.

  • Invalid JSON in body:
    If using custom JSON bodies for create or update operations (not applicable here but relevant for other operations), ensure the JSON syntax is correct.

  • Empty or no results returned:
    Check your filter criteria; overly restrictive filters may result in no matching orders. Also verify that the API key has sufficient permissions.

  • API rate limits or connectivity issues:
    Network problems or API throttling may cause request failures. Retry after some time or check network connectivity.

Links and References

Discussion