Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Delivery → Create Voucher Code
AI-generatedSummary
Builds an Orderly protobuf JSON VoucherCode object from the required voucher code string. The code is trimmed, validated as nonempty, and returned for each input item; this operation does not create a voucher in Orderly.
Inputs
- Voucher Code (required) — The voucher code string. Defaults to
$json.Code, then$json.voucherCode; the first nonempty value is used.
Output shape
A single JSON object per input item, with the voucher code represented in the Code field.
The value is trimmed; an empty value causes an error. With Continue On Fail enabled, an item error is returned as
{ "error": "..." }.