Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Voucher → Create Voucher Code
AI-generatedSummary
Builds an Orderly VoucherCode protobuf JSON object from a voucher code string. The node trims the value, requires it to be non-empty, and returns the object for each input item without making an API call.
Inputs
- Voucher Code (required) — Code string used for the object’s
Codefield. Defaults to the incoming item’sCode, thenvoucherCode, or an empty string.
Output shape
One JSON object per input item, containing the protobuf JSON representation of a VoucherCode (with a Code field).
An empty or whitespace-only code raises an error. With Continue On Fail enabled, the item instead returns an
errorfield containing the message.