Livo icon

Livo

Interact with Livo API for orders, products, customers, and repairs

Overview

The node interacts with a repair management API to handle various repair-related operations. Specifically, the "Pay Repair" operation allows users to record a payment for a repair ticket by specifying the repair ID, payment method, and final cost. This is useful in scenarios where a repair service has been completed and payment needs to be registered in the system.

Practical examples:

  • A repair shop uses this node to mark a repair as paid after receiving cash or card payment.
  • Automating payment updates in an ERP or CRM system when a customer settles their repair invoice.
  • Integrating with accounting software to track repair payments automatically.

Properties

Name Meaning
Repair ID The unique identifier of the repair ticket to be paid.
Payment Method The method used to pay for the repair. Options: Cash, Card, Bank Transfer, E-Wallet.
Final Cost The total amount paid for the repair.

Output

The output JSON contains the response from the API after attempting to update the payment status of the specified repair ticket. It typically includes confirmation details about the payment update or error information if the operation failed.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the external repair management API.
  • Needs the base environment URL configured to target the correct API endpoint.
  • The node sends HTTP POST requests to the /api/ecommerce/repairwarrantyticket/payment-update endpoint with payment details.

Troubleshooting

  • Common issues:

    • Invalid or missing Repair ID will cause the API to reject the request.
    • Incorrect or unsupported payment method values may result in errors.
    • Network or authentication failures due to invalid API key or incorrect environment URL.
  • Error messages:

    • "error": "Invalid repair ID": Verify that the Repair ID is correct and exists in the system.
    • "error": "Unauthorized" or "Invalid API key": Check that the API key credential is valid and properly configured.
    • "error": "Payment method not supported": Use one of the allowed payment methods (cash, card, bank_transfer, e_wallet).

To resolve these, ensure all required properties are correctly set, credentials are valid, and network connectivity to the API is stable.

Links and References

  • No direct links provided in the source code. For more information, consult the documentation of the external repair management API or the platform integrating this node.

Discussion