REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Actions40

Overview

This node provides integration with the LatePoint REST API, specifically enabling management of various resources such as bookings, customers, agents, services, payments, orders, coupons, and locations. For the Orders - Delete operation, it allows users to delete an existing order by specifying its unique identifier.

This operation is useful in scenarios where an order needs to be removed from the system, for example:

  • Canceling an order that was created by mistake.
  • Cleaning up test or duplicate orders.
  • Removing orders that are no longer relevant or valid.

Practical example: If a customer cancels their purchase and you want to remove the corresponding order record from LatePoint, you can use this node's Delete operation on Orders by providing the order ID.

Properties

Name Meaning
Description A text field to describe the purpose or context of this API call (optional, for AI context).
ID The unique identifier of the order to delete. This is required to specify which order to remove.

Output

The output of the Delete operation returns JSON data representing the response from the LatePoint API after attempting to delete the specified order. Typically, this will include confirmation of deletion or details about the deleted order.

  • The json output field contains the API response object.
  • No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential configured for the LatePoint REST API.
  • The node uses the base URL and API key from these credentials to authenticate requests.
  • Network access to the LatePoint API endpoint is necessary.

Troubleshooting

  • No credentials configured!
    Error thrown if the API key credential is missing. Ensure you have set up the required API authentication token in n8n credentials.

  • Invalid or missing ID parameter
    The delete operation requires a valid order ID. Make sure the ID is provided and corresponds to an existing order.

  • API errors returned from LatePoint
    Errors such as "Order not found" or permission issues may occur. Verify the order ID exists and your API key has sufficient permissions.

  • Invalid JSON in body
    Not applicable for Delete operation since no request body is sent.

Links and References

Discussion