Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

WebHook → Create Draft Order ID

AI-generated

Summary

Builds an Orderly DraftOrderId protobuf JSON object from an ID and an optional account ID object, for use by other Orderly actions.

Inputs

  • ID (required) — UUID string for the draft order. The default expression reads Id.Value, Id, or id from the incoming item, in that order.
  • Account ID JSON — Whole AccountId object to include with the draft order ID. Defaults to the incoming item's AccountId, or {}; the builder omits this field when the object is empty.

Output shape

One item per input item, each containing the built DraftOrderId object as its JSON body.

The node transforms data only; it makes no API call. It trims and validates the ID, and converts the result through the Orderly protobuf schema, which may omit unset fields. With Continue On Fail enabled, errors are returned as an error field for the affected item; otherwise the node throws an item-scoped error.

Links

Discussion