Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Container → Create Voucher Code
AI-generatedSummary
Builds an Orderly VoucherCode protobuf JSON object from a voucher code string. For each input item, it trims the code and returns the resulting object; an empty code causes an error.
Inputs
- Voucher Code (required) — Code string to place in the output object's
Codefield. Defaults from$json.Code, then$json.voucherCode, or an empty string.
Output shape
One JSON object per input item, containing the voucher code in Code.
The code is trimmed. Missing or blank values raise an error; with Continue On Fail enabled, that item's output instead contains an
errormessage.