Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Account → Create Voucher Code
AI-generatedSummary
Builds an Orderly VoucherCode protobuf JSON object from a voucher code string for use in downstream Orderly actions.
Inputs
- Voucher Code (required) — The code to place in the object’s
Codefield. Defaults to the incoming item’sCode, thenvoucherCode, or an empty string. The value is trimmed; an empty value causes an error.
Output shape
One JSON object per input item, containing the protobuf JSON representation of a VoucherCode.
This operation only constructs the object; it does not create or redeem a voucher. If the workflow enables Continue On Fail, errors are returned in an item’s
errorfield.