Orderly icon

Orderly

Run generated Orderly API actions

Actions488

Order → Upsert Draft

AI-generated

Summary

Upserts an Orderly order draft from the supplied JSON and returns the resulting draft. The Input JSON field defaults to the incoming item’s JSON; provide a DraftOrder-shaped object or map the incoming data to one.

Inputs

  • Input JSON — JSON request for OrderService.UpsertDraft, converted to the API’s DraftOrder message. Defaults to ={{ $json }}; unknown fields are ignored during conversion. The node processes each incoming item separately.

Output shape

One n8n item per input item, containing the returned draft as JSON.

The API response is converted from its DraftOrder message to JSON. With Continue On Fail enabled, a failed input produces an item with an error field.

Links

Discussion