Actions107
- Account Actions
- Container Actions
- Delivery Actions
- Notification Actions
- Order Actions
- Statistics Actions
- Voucher Actions
- WebHook Actions
Notification → Create Draft Order ID
AI-generatedSummary
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, oridfield; the value is trimmed and must not be empty. - Account ID JSON — A whole
AccountIdobject to include in the result. Defaults from the incoming item’sAccountIdfield, 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.Valueand includesAccountIdonly 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 anerrorfield.