Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Account → Create Draft Order ID
AI-generatedSummary
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’sId.Value,Id, orid, 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’sAccountIdor 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.