Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Account → Create Draft Order ID

AI-generated

Summary

Builds an Orderly DraftOrderId protobuf JSON object from a UUID and, optionally, an AccountId object for each input item.

Inputs

  • ID (required) — UUID string used as the nested Id.Value. Defaults to the incoming item’s Id.Value, Id, or id, in that order. An empty or whitespace-only value causes an error.
  • Account ID JSON — Whole AccountId object to include as AccountId; defaults to the incoming item’s AccountId or an empty object. Leave empty to omit it.

Output shape

One item per input item, containing a DraftOrderId JSON object.

The object is converted using the Orderly protobuf schema, which omits implicit default fields. With Continue On Fail enabled, errors are returned in that item as { "error": "…" }; otherwise the operation fails with an item-indexed error.

Examples

Example 1: Build from an incoming item

With Id.Value set on the incoming item, the default ID expression supplies it. The default Account ID expression uses AccountId when present.

Links

Discussion