Orderly Helper icon

Orderly Helper

Build Orderly protobuf JSON objects for Orderly actions

Actions107

Notification → Create Draft Order ID

AI-generated

Summary

Builds a protobuf JSON DraftOrderId from a required ID and an optional Account ID object, for use in other Orderly operations.

Inputs

  • ID (required) — The draft order UUID. Defaults from the incoming item’s Id.Value, Id, or id field; the value is trimmed and must not be empty.
  • Account ID JSON — A whole AccountId object to include in the result. Defaults from the incoming item’s AccountId field, or {}; leave empty to omit it.

Output shape

One JSON item per input item, containing the protobuf JSON DraftOrderId object.

The result includes the ID under Id.Value and includes AccountId only when a nonempty object is provided. Invalid ID or Account ID JSON causes an item error; with Continue On Fail enabled, that item instead contains an error field.

Links

Discussion