Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Voucher → Create Draft Order ID
AI-generatedSummary
Builds an Orderly DraftOrderId protobuf JSON object from an ID and an optional AccountId object. Use it to prepare the identifier for a downstream Orderly action that expects a DraftOrderId.
Inputs
- ID (required) — UUID string used for the draft order ID. By default, reads
$json.Id.Value,$json.Id, or$json.idfrom the incoming item. - Account ID JSON — Whole AccountId object to include with the draft order ID. Defaults to
$json.AccountIdor{}; the field is omitted when empty.
Output shape
One JSON item per input item, containing the constructed DraftOrderId object.
The output is normalized using the Orderly protobuf schema. A blank ID causes an error; with Continue On Fail enabled, that input item instead returns an
errorfield.