Léo Delivery Attendance icon

Léo Delivery Attendance

Ferramentas de atendimento WhatsApp para o Léo Delivery.

Get Promotions

AI-generated

Summary

Fetches promotions for a merchant, optionally filtering them with a message query. Makes a GET request to the merchant promotions endpoint and returns the response in a success envelope.

Inputs

  • Merchant ID (required) — The merchant’s UUID; defaults to the incoming item’s merchantId.
  • Message — Optional text used as the promotions query; defaults to the incoming item’s message or text.

Output shape

One result item per input item, containing a success envelope with operation, data from the API response, and a localized success message.

The node sends merchantId and message as query parameters to GET /v1/internal/promotions. The required system-auth credential supplies the merchant API base URL and authorization. Results go to the first output; this operation does not use the second output.

Links

Discussion