Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
WebHook → Create Draft Order ID
AI-generatedSummary
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, oridfrom the incoming item, in that order. - Account ID JSON — Whole
AccountIdobject to include with the draft order ID. Defaults to the incoming item'sAccountId, 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
errorfield for the affected item; otherwise the node throws an item-scoped error.