Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Order → Create Voucher Code
AI-generatedSummary
Builds an Orderly VoucherCode protobuf JSON object from a voucher code string. The value is trimmed and must not be empty.
Inputs
- voucherCode (required) — Voucher Code string. Defaults to
{{$json.Code || $json.voucherCode || ""}}, so it can use an incoming item'sCodeorvoucherCodefield.
Output shape
One output item per input item, containing a VoucherCode object with a Code field.
The object is normalized through the Orderly protobuf schema; empty codes raise an error. With Continue On Fail enabled, the affected item instead contains an
errormessage.