Léo Delivery Attendance icon

Léo Delivery Attendance

Ferramentas de atendimento WhatsApp para o Léo Delivery.

Check Coupon

AI-generated

Summary

Checks a coupon using the configured merchant credentials. The current backend does not support this operation, so it returns a failure result without making an HTTP request.

Inputs

  • Merchant ID — The store UUID; defaults to the incoming item’s merchantId. The current implementation does not use it for a request.
  • Message — Message text or context; defaults to the incoming item’s message or text. The current implementation does not use it for a request.
  • Coupon Code — Coupon code to check; defaults to the incoming item’s couponCode or message. The current implementation does not use it for a request.
  • Credentials (required) — Léo Delivery system authentication credentials are required by the node, though this unsupported operation does not make an authenticated request.

Output shape

One result item per input item, on the first output.

Each result has success=false, operation="check_coupon", data=null, and a message stating that the backend does not support the operation. The node exposes a second output named “Não encontrado”, but routes to it only for failed get_merchant_by_whatsapp_instance results.

Examples

Example 1: Coupon validation

Provide a Merchant ID and Coupon Code, or pass couponCode (falling back to message) in the incoming item. The operation currently returns an unsupported-operation failure regardless of these values.

Links

Discussion