Orderly icon

Orderly

Run generated Orderly API actions

Actions488

Voucher → List Voucher Rules

AI-generated

Summary

Lists voucher rules by calling Orderly’s VoucherService.ListRules with the supplied JSON request. By default, emits one n8n item for each element in the response’s data array.

Inputs

  • Input JSON — Request object for the voucher rules query; defaults to the incoming item’s JSON ($json). Unknown fields are ignored during conversion to the API request.
  • Split Data — Defaults to true. When the response has a data array, emits each element as a separate n8n item; turn off to emit the full response as one item.

Output shape

A list of n8n items containing voucher rule records, or one item with the full response.

With Split Data enabled, each array element becomes an item; non-object elements are wrapped as { "value": ... }. If the response has no data array, it is emitted as one item. Each output item is paired with its input item.

Links

Discussion