Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Voucher → Create Draft Order ID

AI-generated

Summary

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.id from the incoming item.
  • Account ID JSON — Whole AccountId object to include with the draft order ID. Defaults to $json.AccountId or {}; 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 error field.

Links

Discussion