Orderly icon

Orderly

Run generated Orderly API actions

Actions488

Container → Get Voucher

AI-generated

Summary

Fetches a voucher from Orderly using the supplied voucher code and returns the voucher data.

Inputs

  • Input JSON (requestJson) — Defaults to the incoming item’s full JSON (={{ $json }}). Supply the request JSON for the VoucherService.Get method, whose declared input type is VoucherCode; the API request conversion ignores unknown fields.

Output shape

One n8n item per input item, with the voucher response in its json field.

The response is converted to JSON and retains the input-item pairing. With Continue On Fail enabled, a failed item returns { "error": "..." }; otherwise the node raises an operation error.

Examples

Example 1: Fetch a voucher by code

Set Input JSON to the VoucherCode request expected by Orderly, using the incoming JSON by default.

Links

Discussion