Orderly icon

Orderly

Run generated Orderly API actions

Actions488

Voucher → Get Draft

AI-generated

Summary

Fetches an Orderly draft order using the supplied draft identifier and returns the draft details.

Inputs

  • Input JSON (`requestJson`) (required) — The DraftOrderId expected by Orderly. The UI default is ={{ $json.Id }}, so provide the draft ID in the incoming item's Id field or set the JSON input directly.

Output shape

A single n8n item per input item, containing the draft order as JSON.

The operation calls OrderService.GetDraft. The response is converted to Orderly JSON; if the API response is not an object, it is wrapped as { "value": ... }. With Continue On Fail enabled, a failed input produces an item containing an error message.

Links

Discussion